Bug 11650 - REGRESSION: Incomplete repaint of style change when using smooth scrolling or scroll wheel in a frame
Summary: REGRESSION: Incomplete repaint of style change when using smooth scrolling or...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-11-19 08:59 PST by mitz
Modified: 2007-02-02 01:39 PST (History)
1 user (show)

See Also:


Attachments
Test case (326 bytes, text/html)
2006-11-19 08:59 PST, mitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-11-19 08:59:05 PST
If smooth scrolling is enabled or a scroll wheel is used and an element changes style during scrolling, it is not always repainted completely.

To reproduce:
1. In System Preferences > Appearance, select "Use smooth scrolling"
2. Open the test case
3. Scroll to the middle of the page and place the mouse pointer over the square
4. Click once to give keyboard focus to the frame
5. Use the up and down arrow keys to scroll the square out from under the mouse and back in. You can also try using the scroll wheel to do that

Expected result:
The square should be painted with one solid color at all times, red when it is under the mouse and green otherwise.

Actual results:
Occasionally the square is part green and part red.

Regression:
I couldn't reproduce in shipping Safari with this particular test case.
Comment 1 mitz 2006-11-19 08:59:27 PST
Created attachment 11573 [details]
Test case
Comment 2 Mark Rowe (bdash) 2007-01-28 19:02:48 PST
<rdar://problem/4960252>
Comment 3 mitz 2007-02-02 01:39:55 PST
Fixed by <http://trac.webkit.org/projects/webkit/changeset/18704> (remove window display throttling code; no longer used).