Bug 7916

Summary: Box repaint rect does not include the left overflow
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: VERIFIED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test case
none
Include left and top overflow in repaint rects
none
Include left and top overflow in repaint rects darin: review+

Description mitz 2006-03-22 10:39:26 PST
See the attached test case for examples of blocks not repainting their left overflow when it they (or their content) move. In all cases, pressing the Test button should move "Lorem" together with "ipsum".

I am going to attach a patch.
Comment 1 mitz 2006-03-22 10:40:24 PST
Created attachment 7232 [details]
Test case
Comment 2 mitz 2006-03-22 11:01:47 PST
Created attachment 7233 [details]
Include left and top overflow in repaint rects
Comment 3 Darin Adler 2006-03-23 07:24:36 PST
Comment on attachment 7233 [details]
Include left and top overflow in repaint rects

Seems to me that overflowRect should be passing the "include interior" boolean along to overflowWidth() and overflowHeight(), no?
Comment 4 mitz 2006-03-23 08:31:38 PST
Created attachment 7249 [details]
Include left and top overflow in repaint rects

Corrected the error pointed out by Darin.
Comment 5 Darin Adler 2006-03-23 09:49:06 PST
Comment on attachment 7249 [details]
Include left and top overflow in repaint rects

r=me
Comment 6 mitz 2006-03-27 08:05:21 PST
Eric committed the patch as r13483.
Comment 7 mitz 2006-03-31 01:11:53 PST
Verified in r13594 nightly.