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

ISSUE-154 (multiple wheel deltas): Clarify diagonal wheel deltas on wheel events [DOM3 Events]

From: Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Wed, 20 Oct 2010 16:18:30 +0000
To: www-dom@w3.org
Message-Id: <E1P8bN0-0001Hx-Lo@crusher.w3.org>

ISSUE-154 (multiple wheel deltas): Clarify diagonal wheel deltas on wheel events [DOM3 Events]

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

Raised by: Doug Schepers
On product: DOM3 Events

David Flanagan <http://lists.w3.org/Archives/Public/www-dom/2010OctDec/0064.html>:
[[
The current Editor's Draft has this description of the deltaMode 
property of WheelEvent

> deltaMode of type unsigned long, readonly
>     The deltaMode attribute contains an indication of to indicate the units of measurement for the delta values. The default value is DOM_DELTA_PIXEL (pixels). The value of deltaMode may be different for each of deltaX, deltaY, and deltaZ, based on system configuration.

Does the fact that deltaMode can be different for the X, Y, and Z axes 
mean that browsers always generate separate events for each axis?

If a user moves the mouse wheel "diagonally" to scroll down and to the 
right, is the browser required to generate one wheel event, two wheel 
events, or can it do either one of those things?

I think the spec ought to be clarified to explain this.
]]
Received on Wednesday, 20 October 2010 16:18:32 GMT

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