NEW 98698
Scroll information save/restore should be more symmetrical for cached pages
https://bugs.webkit.org/show_bug.cgi?id=98698
Summary Scroll information save/restore should be more symmetrical for cached pages
Beth Dakin
Reported 2012-10-08 15:52:20 PDT
Right now we do some scrolling-related work in Document::setInPageCache(bool) that can only be done when the Document is entering the page cache. Symmetrical work needs to be done when the Document exits the cache, but it cannot be done in the same function because a page exiting the cache will not have access to its RenderView at that time. Instead that work is done in HistoryController::restoreScrollPositionAndViewState(). It would be better to have some symmetry for this work.
Attachments
Note You need to log in before you can comment on or make changes to this bug.