[Webkit-unassigned] [Bug 43779] New: RenderImage::imageChanged invalidates wrong area
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 10 02:50:30 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43779
Summary: RenderImage::imageChanged invalidates wrong area
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: paroga at paroga.com
CC: zimmermann at kde.org
Created an attachment (id=63994)
--> (https://bugs.webkit.org/attachment.cgi?id=63994)
testcase
When you change the url of an SVG image a wrong area will be invalidated:
When you open the attached testcase you see an red rect on position 100,100 with the size 50,50. This is an image. When you click on it, it will change the url of the image. Now the area at 100,100 with the size 50,50 changed. You get the correct invalidate rect at ChromeClient::invalidateContentsAndWindow, but addional the rect(0,0,50,50). This requests an unneeded area for repaint.
The wrong rect is generated at http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderImage.cpp?rev=64272#L179.
Is it correct that this code is called for SVG?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list