Bug 25225 - getBBox() (implemented with objectBoundingBox()) is often wrong
Summary: getBBox() (implemented with objectBoundingBox()) is often wrong
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 25224
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-15 17:24 PDT by Eric Seidel (no email)
Modified: 2010-07-02 00:17 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.