[Webkit-unassigned] [Bug 44083] SVGLocatable.getScreenCTM uses page{X, Y} rather than client{X, Y}

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 16 18:21:31 PDT 2010


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





--- Comment #3 from Mike Bostock <mbostock at cs.stanford.edu>  2010-08-16 18:21:32 PST ---
Oops, clarification to my initial description: getScreenCTM ignores scrollTop and scrollLeft in WebKit, which is why it is inconsistent with clientX and clientY.

For example, in Firefox and Opera, if you scroll down by 200 pixels, svg.getScreenCTM().f will go down by 200 pixels (e.g., 92 -> -108). On the other hand, in WebKit, Safari and Chrome the value of svg.getScreenCTM().f will stay constant independent of scrolling.

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