[Webkit-unassigned] [Bug 10809] evt.x and evt.y are not correctly supported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 13 11:12:12 PDT 2009


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





------- Comment #7 from browserbugs at gtalbot.org  2009-06-13 11:12 PDT -------
References:
-----------
"Sets or retrieves the y-coordinate, in pixels, of the mouse pointer's position
relative to a relatively positioned parent element.
(...)
If the event firing element is relatively positioned, then the y-coordinate
from the boundary of the element is returned. If the event firing element and
all of its parent elements are not relatively positioned, then the y property
returns a coordinate relative to the body element.
"
MSDN documentation, y Property (event, Event Constructor)
http://msdn.microsoft.com/en-us/library/ms535164(VS.85).aspx



"
The y attribute, on getting, must return the value of pageY. (...)
The pageY attribute, on getting, must return the vertical coordinate, as number
of CSS pixels, of the position where the event occurred relative to the origin
of the canvas.
"
CSSOM View Module, WD 22 February 2008
http://www.w3.org/TR/cssom-view/#mouseeventview-y
and
http://www.w3.org/TR/cssom-view/#mouseeventview-pagey



Right now, Safari 4.0 final release build 530.17 does not comply with the MSDN
specification nor with the W3C WD CSSOM View Module specification as it treats
x and y properties like clientX and clientY (relative to viewport) properties
and not as pageX and pageY (relative to canvas) properties.

regards, Gérard


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list