Bug 35354

Summary: SVG's tspan is no member of SVGRenderBase, this can cause crashes on filters
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
get bounding box for tspan none

Description Dirk Schulze 2010-02-24 12:43:38 PST
SVG's tspan is no member of SVGRenderBase, this can cause crashes on filters. Another problem is, that childs of text elements don't have a boundingBox or repaintRect. So we can't use clipping masking and some other resources on tspan's.
Comment 1 Dirk Schulze 2010-02-24 13:14:47 PST
Created attachment 49425 [details]
get bounding box for tspan

get bounding boxes for tspan and inline texts. We take the bounding boxes of the text root. We also need to take the repaint rect of text root to get the right results in filters. Mainly because of chapter 10.4 in the  SVG spec.
Comment 2 Nikolas Zimmermann 2010-02-25 13:36:29 PST
Comment on attachment 49425 [details]
get bounding box for tspan

Great, r=me.
Comment 3 Dirk Schulze 2010-02-25 15:04:35 PST
Comment on attachment 49425 [details]
get bounding box for tspan

Clearing flags on attachment: 49425

Committed r55260: <http://trac.webkit.org/changeset/55260>
Comment 4 Dirk Schulze 2010-02-25 15:04:44 PST
All reviewed patches have been landed.  Closing bug.