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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 09:32:12 PDT 2012


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


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krit at webkit.org




--- Comment #2 from Dirk Schulze <krit at webkit.org>  2012-03-14 09:32:12 PST ---
Why do you need a ref test here at all? A pure JS test with DRT is the better choice. Nevertheless, I didn't understand what you expect.

Currently we get (100,100,100,100) as BBox for the <g> with the name 'container'.

Other browsers:
Opera:  (100,100,100,100)
Firefox:  (0,0,200,200)
IE: (100,100,100,100)

So it seems to me that most browsers ignore the empty g. I would mark this bug as invalid, because I would ignore the g as well. It has not content, therefore no bounding box.

Also, please use <!DOCTYPE html> and omit ns declarations on uploading html files. Makes it easier to debug it on IE :)

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