[webkit-reviews] review denied: [Bug 53378] [chromium] svg/clip-path/clip-in-mask.svg fails on Windows and Linux : [Attachment 118554] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 9 11:09:33 PST 2011


Tony Chang <tony at chromium.org> has denied Branimir Lambov
<blambov at google.com>'s request for review:
Bug 53378: [chromium] svg/clip-path/clip-in-mask.svg fails on Windows and Linux
https://bugs.webkit.org/show_bug.cgi?id=53378

Attachment 118554: Patch
https://bugs.webkit.org/attachment.cgi?id=118554&action=review

------- Additional Comments from Tony Chang <tony at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=118554&action=review


>>> Source/WebCore/ChangeLog:9
>>> +	     all complex clipping (including text and/or masks) to fail.
>> 
>> Can you explain what the bug was and how this fixes it?  I don't know this
code very well and it's hard for me to tell if the new code is correct.
> 
> The bug was in Skia's clipping code's handling of coordinate transformations.
The method beginLayerClippedToImage was taking rectangle coordinates in one
local coordinate space, but it was applying them in a different one because of
the delay between the time it is called and the actual application occurs in
applyClipFromImage. The fix translates the coordinates passed to
beginLayerClippedToImage to absolute ones, so that they are not affected by any
change in the transform matrix, and makes sure that applyClipFromImage clears
the matrix before applying the clip layer to correctly apply the absolute
coordinates.

Please include this in the ChangeLog, otherwise, this patch seems fine.


More information about the webkit-reviews mailing list