Bug 40037 - [chromium] Scroll position is lost when hitting the back button while compositing on the gpu
Summary: [chromium] Scroll position is lost when hitting the back button while composi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 18:55 PDT by Vangelis Kokkevis
Modified: 2010-06-04 05:05 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (2.97 KB, patch)
2010-06-02 18:28 PDT, Vangelis Kokkevis
no flags Details | Formatted Diff | Diff
Proposed patch (2.96 KB, patch)
2010-06-02 18:30 PDT, Vangelis Kokkevis
no flags Details | Formatted Diff | Diff
Proposed patch (1.81 KB, patch)
2010-06-03 19:22 PDT, Vangelis Kokkevis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vangelis Kokkevis 2010-06-01 18:55:42 PDT
Steps to reproduce:
1. Go to a (long) page that triggers accelerated compositing
2. Scroll down the page
3. Navigate to a new page from the same tab
4. Hit the back button in the browser to go back to the original page

Composited elements now appear in the wrong spot and scrolling the page doesn't update its contents correctly.
Comment 1 Vangelis Kokkevis 2010-06-02 18:28:22 PDT
Created attachment 57723 [details]
Proposed patch
Comment 2 Vangelis Kokkevis 2010-06-02 18:30:38 PDT
Created attachment 57724 [details]
Proposed patch
Comment 3 Vangelis Kokkevis 2010-06-03 19:22:10 PDT
Created attachment 57842 [details]
Proposed patch

A simpler solution that's actually more reliable.
Comment 4 Dimitri Glazkov (Google) 2010-06-03 19:32:57 PDT
Comment on attachment 57842 [details]
Proposed patch

ok.
Comment 5 WebKit Commit Bot 2010-06-04 05:05:14 PDT
Comment on attachment 57842 [details]
Proposed patch

Clearing flags on attachment: 57842

Committed r60676: <http://trac.webkit.org/changeset/60676>
Comment 6 WebKit Commit Bot 2010-06-04 05:05:19 PDT
All reviewed patches have been landed.  Closing bug.