Bug 25225 - getBBox() (implemented with objectBoundingBox()) is often wrong
: getBBox() (implemented with objectBoundingBox()) is often wrong
Status: RESOLVED FIXED
: WebKit
SVG
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
: 25224
:
  Show dependency treegraph
 
Reported: 2009-04-15 17:24 PST by
Modified: 2010-07-02 00:17 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-04-15 17:24:42 PST
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 From 2010-07-02 00:17:19 PST -------
Fixed in trunk. Closing bug.