W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2010

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

From: Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Wed, 20 Oct 2010 16:16:46 +0000
To: www-dom@w3.org
Message-Id: <E1P8bLK-0001Fc-TH@crusher.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:06 GMT