RESOLVED FIXED Bug 13789
SVGLocatable::getScreenCTM() faulty
https://bugs.webkit.org/show_bug.cgi?id=13789
Summary SVGLocatable::getScreenCTM() faulty
Antoine Quint
Reported 2007-05-20 06:39:00 PDT
SVGLocatable::getScreenCTM() doesn't seem to take into account transformations applied by the viewport's preserveAspectRatio and viewBox attributes, nor does it take into account the CSS offset of the container XHTML element, if available. SVGLocatable::getScreenCTM() should return the computed transformation matrix applied to the element provided as a parameter up to the client coordinate system, ie. the one in which mouse events' .clientX and .clientY live.
Attachments
testcase for SVGLocatable::getScreenCTM() (2.05 KB, application/xhtml+xml)
2007-05-20 06:41 PDT, Antoine Quint
no flags
Antoine Quint
Comment 1 2007-05-20 06:41:08 PDT
Created attachment 14635 [details] testcase for SVGLocatable::getScreenCTM() This test case shows a green rectangle if the test is performed correctly, or an error message detailing the issue in case it's not.
Antoine Quint
Comment 2 2007-05-20 06:42:58 PDT
Latest Firefox trunk builds handle this test case correctly. Opera 9.2 does not, raising a bug on Opera as well.
Oliver Hunt
Comment 3 2007-05-20 21:50:51 PDT
Filed internally as <rdar://problem/5216451>
Oliver Hunt
Comment 4 2007-05-21 20:34:35 PDT
Landed in r21636
Note You need to log in before you can comment on or make changes to this bug.