[Webkit-unassigned] [Bug 81104] REGRESSION: getBBox returns incorrect results with empty containers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 11:13:00 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=81104


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|getBBox returns incorrect   |REGRESSION: getBBox returns
                   |results with empty          |incorrect results with
                   |containers                  |empty containers
                 CC|                            |rwlbuis at gmail.com




--- Comment #6 from Dirk Schulze <krit at webkit.org>  2012-03-14 11:13:00 PST ---
(In reply to comment #5)
> I don't think it's necessary to ask the WG. The spec is clear and there is only one rect inside the group.
> 
> http://www.w3.org/TR/SVG/types.html#__svg__SVGLocatable__getBBox
> SVGRect getBBox()
> Returns the tight bounding box in current user space (i.e., after application of the ‘transform’ attribute, if any) on the geometry of all contained graphics elements, exclusive of stroking, clipping, masking and filter effects). Note that getBBox must return the actual bounding box at the time the method was called, even in case the element has not yet been rendered.
> Returns
> An SVGRect object that defines the bounding box.
> 
> http://www.w3.org/TR/SVG/intro.html#Definitions
> graphics element:
> One of the element types that can cause graphics to be drawn onto the target canvas. Specifically: ‘circle’, ‘ellipse’, ‘image’, ‘line’, ‘path’, ‘polygon’, ‘polyline’, ‘rect’, ‘text’ and ‘use’.

Ok, than this bug is a regression. Adding Rob, because I think he changed the definition for empty on another place. Maybe this influences this bug?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list