Bug 98698 - Scroll information save/restore should be more symmetrical for cached pages
Summary: Scroll information save/restore should be more symmetrical for cached pages
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 15:52 PDT by Beth Dakin
Modified: 2017-09-27 15:36 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 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.