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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 11:25:06 PST 2011


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





--- Comment #9 from Gérard Talbot <browserbugs at gtalbot.org>  2011-01-13 11:25:06 PST ---
Hello all,

The CSSOM WD **_changed_** the definition of evt.x and evt.y: these values are now supposed to duplicate clientX and clientY.

"
The clientX attribute, on getting, must return the x-coordinate of the position where the event occurred relative to the origin of the viewport.

The clientY attribute, on getting, must return the y-coordinate of the position where the event occurred relative to the origin of the viewport.

The x attribute, on getting, must return the value of clientX.

The y attribute, on getting, must return the value of clientY.
" 
CSSOM View Module
W3C Working Draft 04 August 2009
http://www.w3.org/TR/cssom-view/#dom-mouseevent-x

MSDN on the other hand still claims evt.x and evt.y should return mouse pointer's offset from the closest relatively positioned parent. 

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.


More information about the webkit-unassigned mailing list