[Webkit-unassigned] [Bug 42815] getBoundingClientRect Broken for SVG Elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 30 09:58:50 PDT 2010


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


Cosmin Truta <ctruta at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ctruta at chromium.org




--- Comment #5 from Cosmin Truta <ctruta at chromium.org>  2010-08-30 09:58:50 PST ---
Ok, I followed Nikolas' suggestion, and it worked well except that the results aren't consistent with Firefox.
The output rectangle, as received from getBBox(), is the rectangle specified in the SVG: (0, 0, 100, 100). On the other hand, in Firefox, the output is the actual position within the window; e.g., on my desktop it's (104.6, -478.65, 1721, 1722).
It is necessary to translate the result from getBBox() to the actual screen coordinates, no?

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