Bug 13037

Summary: REGRESSION: Copy-on-scroll not reset properly after back/forward navigation
Product: WebKit Reporter: mitz
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt
Priority: P1 Keywords: InRadar, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Keep the slow repaint object count intact and non-negative hyatt: review+

Description mitz 2007-03-10 14:41:48 PST
Summary:
After navigating back and forth through the b/f cache, the web view is set to "copy on scroll" despite having content that should prohibit such behavior (e.g. fixed background).

To reproduce:
1) Go to <http://www.w3.org/TR/CSS21/>.
2) Click on the "next" link.
3) Go back.
4) Go forward.
5) Scroll up and down.

Expected result:
The "W3 Working Draft" banner on the left to remain fixed and not scroll out of view.

Actual result:
The "W3 Working Draft" banner scrolls out of view when scrolling down, and artifacts appear when scrolling up.

Regression:
Yes, this doesn't happen in shipping Safari.

Notes:
While this is a rendering bug, it's ultimately caused by the page loading machinery not (re)setting up the view properly, so I'm filing under Page Loading.
Comment 1 Mark Rowe (bdash) 2007-03-13 16:22:55 PDT
<rdar://problem/5061030>
Comment 2 mitz 2007-05-08 08:24:00 PDT
Regressed in <http://trac.webkit.org/projects/webkit/changeset/13440>.
Comment 3 mitz 2007-05-08 08:53:49 PDT
Actually the regression in r13440 was fixed in r13649 (fix for bug 8079). It came back later.
Comment 4 mitz 2007-05-08 09:05:48 PDT
Most recently regressed in <http://trac.webkit.org/projects/webkit/changeset/15722> (fix for bug 10179).
Comment 5 mitz 2007-05-08 11:02:11 PDT
Created attachment 14415 [details]
Keep the slow repaint object count intact and non-negative
Comment 6 Dave Hyatt 2007-05-08 23:50:12 PDT
Comment on attachment 14415 [details]
Keep the slow repaint object count intact and non-negative

r=me
Comment 7 Mark Rowe (bdash) 2007-05-09 01:14:39 PDT
Landed in r21329.