Bug 98698

Summary: Scroll information save/restore should be more symmetrical for cached pages
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bdakin, fred.wang, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.