ISSUE-153 (wheel delta): Converting wheel events to mousewheel and DOMMouseScroll [DOM3 Events]

ISSUE-153 (wheel delta): Converting wheel events to mousewheel and DOMMouseScroll [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/153

Raised by: Doug Schepers
On product: DOM3 Events

David Flanagan <http://lists.w3.org/Archives/Public/www-dom/2010OctDec/0063.html>:
[[
The current Editor's draft includes the following formulas for 
converting wheel events to mousewheel and DOMMouseScroll events:

mousewheel.wheelDelta = -(WheelEvent.deltaY) / 120

DOMMouseScroll.detail = WheelEvent.deltaY / 3


Shouldn't those division signs be multiplication signs?  Everything I 
read says that IE returns a wheelDelta of +120 or -120 for a single 
wheel "click", and that Firefox returns a detail field of plus or minus 3.
]]

Received on Wednesday, 20 October 2010 16:16:52 UTC