[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:19:33 PDT 2012


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





--- Comment #7 from Stephen Chenney <schenney at chromium.org>  2012-03-14 11:19:33 PST ---
A big part of the problem is that WebKit and SVG does not define the notion of an "invalid" as opposed to "zero-sized" bounding box. It wouldn't surprise me if the empty <g> element is returning (0, 0, 0, 0) as the bound and the code in its parent just combines that with the rect's bound.

This is problematic because I also read the spec to mean that a path with a single move(0,0) in it should contribute to the bounding box, even though its bound is also (0,0,0,0).

-- 
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