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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 10:30:47 PDT 2012


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





--- Comment #12 from Stephen Chenney <schenney at chromium.org>  2012-03-19 10:30:47 PST ---
Adding an invalid FloatRect object would have impact throughout WebKit. There is a lot of code that treats (0, 0, 0, 0) rectangles specially. If we decide to push for a special invalid rect object we would need to look at every instance of checks for a 0,0,0,0 rectangle and decide which are looking to see if a rectangle is "empty" and which are for a rectangle that is undefined or unset.

Note that Core Graphics uses (0, 0, -1, -1) for "null" rectangle and this has bitten us in the past. See bug 65796, comment #65 and later.

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