Bug 32968

Summary: SVG: Stop rendering of objects with empty mask and filter content
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot, zimmermann
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
stop rendering of object if SVG mak clips content away
none
stop rendering of object if SVG mak clips content away zimmermann: review+

Description Dirk Schulze 2009-12-27 12:42:11 PST
It's not neccessary to proceed rendering of the object and it's child, if the content gets completely clipped away by a mask or if it has an bogus or one-dimensional filter.
Comment 1 Dirk Schulze 2009-12-27 13:00:20 PST
Created attachment 45530 [details]
stop rendering of object if SVG mak clips content away

patch
Comment 2 Dirk Schulze 2009-12-27 14:02:03 PST
Created attachment 45533 [details]
stop rendering of object if SVG mak clips content away

fixes a bug in SVGResourceMasker
Comment 3 WebKit Review Bot 2009-12-27 14:09:25 PST
style-queue ran check-webkit-style on attachment 45533 [details] without any errors.
Comment 4 Nikolas Zimmermann 2009-12-27 14:17:10 PST
Comment on attachment 45533 [details]
stop rendering of object if SVG mak clips content away

Excellent job, r=me.
Comment 5 Dirk Schulze 2009-12-27 14:23:01 PST
landed in r52584.