Bug 23273

Summary: Avoid use of absolute repaint rect in RenderBox::repaintLayerRectsForImage()
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch, changelog mitz: review+

Simon Fraser (smfr)
Reported 2009-01-12 13:58:18 PST
RenderBox::repaintLayerRectsForImage() does some repainting when the image changes that computes an absolute repaint rect. It should not have to use absolute rects for this; it should compute a local rect.
Attachments
Patch, changelog (3.07 KB, patch)
2009-01-12 16:14 PST, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2009-01-12 16:14:44 PST
Created attachment 26654 [details] Patch, changelog This isn't fixing a bug, so no testcase. I'm doing it to make some future repaint cleanup easier.
Simon Fraser (smfr)
Comment 2 2009-01-12 16:20:28 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/rendering/RenderBox.cpp Committed r39847
Note You need to log in before you can comment on or make changes to this bug.