Bug 25225

Summary: getBBox() (implemented with objectBoundingBox()) is often wrong
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: krit, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 25224    
Bug Blocks:    

Description Eric Seidel (no email) 2009-04-15 17:24:42 PDT
getBBox() (implemented with objectBoundingBox()) is often wrong

RenderSVGTSpan has an empty implementation.  RenderForeignObject returns the borderBox() which, although un-spec'd, is correct according to Doug and Erik in #svg.  They may yet issue an Errata to cover the issue.

I'm sure other SVG renderers are missing proper objectBoundingBox() implementations (which will show up as ASSERTs in debug mode when viewing the right SVGs, or when calling getBBox() on the right elements).  This bug tracks fixing all these and landing a test case testing getBBox() on various SVG elements.
Comment 1 Nikolas Zimmermann 2010-07-02 00:17:19 PDT
Fixed in trunk. Closing bug.