ISSUE-153: Converting wheel events to mousewheel and DOMMouseScroll. Conversion would only work some times because of a dependency on OS settings. Therefore, I've removed the non-normative conversion text altogether.
authorjrossi2
Sat, 30 Apr 2011 09:10:09 +0900
changeset 301 a67776a79b2e
parent 300 058e9292f49e
child 302 f3a7781a5f1c
ISSUE-153: Converting wheel events to mousewheel and DOMMouseScroll. Conversion would only work some times because of a dependency on OS settings. Therefore, I've removed the non-normative conversion text altogether.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Mon Apr 25 10:30:48 2011 +0900
+++ b/html/DOM3-Events.html	Sat Apr 30 09:10:09 2011 +0900
@@ -25,7 +25,7 @@
       </p>
       <h1 id="Overview-title">Document Object Model (DOM) Level 3 Events Specification</h1>
 <!-- @@@ -->
-      <h2 id="Overview-W3C-doctype">W3C Editor's Draft <time datetime="2011-04-24">24 April 2011</time></h2>
+      <h2 id="Overview-W3C-doctype">W3C Editor's Draft <time datetime="2011-04-29">29 April 2011</time></h2>
       <dl>
         <dt>This version:</dt>
         <dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.154">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.154</a></dd>
@@ -3421,37 +3421,7 @@
             </table>
             <p>A <a class="def" href="#glossary-user-agent">user agent</a> must dispatch this event when a mouse wheel has been rotated around any axis, or when an equivalent input device (such as a mouse-ball, certain tablets or touchpads, etc.) has emulated such an action. Depending on the platform and input device, diagonal wheel deltas may be delivered either as a single wheel event with multiple non-zero axes or as separate wheel events for each non-zero axis.</p>
             <p>The typical default action of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event type is to scroll (or in some cases, zoom) the document by the indicated amount.  If this event is canceled, the implementation must not scroll or zoom the document (or perform whatever other implementation-specific default action is associated with this event type).</p>
-            <p>Due to a lack of early standardization for a mouse-wheel event type, there are several related proprietary events which have been implemented by different <a class="def" href="#glossary-user-agent">user agents</a>, with different names and characteristics.  This specification does not attempt to specify these legacy events due to lack of interoperability, but supplies the following equivalency information which may help implementers and content authors.  A <a class="def" href="#glossary-user-agent">user agent</a> may dispatch an event of one or more of the following event types as a <a class="def" href="#glossary-default-action">default action</a> of a <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event, depending upon the property values of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event and implementation support:</p>
-            <h5 id="mousewheel">
-              <strong>mousewheel</strong>
-            </h5>
-            <p>Dispatched when <a href="#events-WheelEvent-deltaY"><code>WheelEvent.deltaY</code></a> is non-zero.</p>
-            <p><strong>In Microsoft Internet Explorer:</strong></p>
-            <p><code>mousewheel.wheelDelta = -(WheelEvent.deltaY) / 120</code></p>
-            <p><strong>In Opera:</strong></p>
-            <p><code>mousewheel.wheelDelta = WheelEvent.deltaY / 120</code></p>
-            <h5 id="DOMMouseScroll">
-              <strong>DOMMouseScroll</strong>
-            </h5>
-            <p>Dispatched when <a href="#events-WheelEvent-deltaY"><code>WheelEvent.deltaY</code></a> is non-zero.</p>
-            <p><strong>In Mozilla Firefox:</strong></p>
-            <p><code>DOMMouseScroll.detail = WheelEvent.deltaY / 3</code></p>
-            <p><code>DOMMouseScroll.axis = VERTICAL_AXIS</code></p>
-            <p>Dispatched when <a href="#events-WheelEvent-deltaX"><code>WheelEvent.deltaX</code></a> is non-zero.</p>
-            <p><strong>In Mozilla Firefox:</strong></p>
-            <p><code>DOMMouseScroll.detail = WheelEvent.deltaX / 3</code></p>
-            <p><code>DOMMouseScroll.axis = HORIZONTAL_AXIS</code></p>
-            <h5 id="MozMousePixelScroll">
-              <strong>MozMousePixelScroll</strong>
-            </h5>
-            <p>Dispatched when <a href="#events-WheelEvent-deltaY"><code>WheelEvent.deltaY</code></a> is non-zero, and <a href="#events-WheelEvent-deltaMode"><code>deltaMode</code></a> is <a href="#events-DOM_DELTA_PIXEL"><code>DOM_DELTA_PIXEL</code></a>.</p>
-            <p><strong>In Mozilla Firefox:</strong></p>
-            <p><code>MozMousePixelScroll.detail = WheelEvent.deltaY / 3</code></p>
-            <p><code>MozMousePixelScroll.axis = VERTICAL_AXIS</code></p>
-            <p>Dispatched when <a href="#events-WheelEvent-deltaX"><code>WheelEvent.deltaX</code></a> is non-zero, and <a href="#events-WheelEvent-deltaMode"><code>deltaMode</code></a> is <a href="#events-DOM_DELTA_PIXEL"><code>DOM_DELTA_PIXEL</code></a>.</p>
-            <p><strong>In Mozilla Firefox:</strong></p>
-            <p><code>MozMousePixelScroll.detail = WheelEvent.deltaX / 3</code></p>
-            <p><code>MozMousePixelScroll.axis = HORIZONTAL_AXIS</code></p>
+            <p>Due to a lack of early standardization for a mouse-wheel event type, there are several related proprietary events which have been implemented by different <a class="def" href="#glossary-user-agent">user agents</a>, with different names and characteristics.  This specification does not attempt to specify these legacy events due to lack of interoperability, but supplies the following equivalency information which may help implementers and content authors.</p>  
             <p class="note" id="note-delta-speed"><strong>Note:</strong> In some <a class="def" href="#glossary-user-agent">user agents</a>, or with some input devices, the speed that the wheel has been turned may affect the <a href="#glossary-delta"><code>delta</code></a> values, with a faster speed producing a higher <a href="#glossary-delta"><code>delta</code></a> value.</p>
             <p class="note" id="note-no-scroll-default"><strong>Note:</strong> Though events of event type <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> often result in scrolling, which results in a <a class="eventtype" href="#event-type-scroll"><code>scroll</code></a> event, there is no direct connection between these event types, and the <a class="eventtype" href="#event-type-scroll"><code>scroll</code></a> event is not a <a class="def" href="#glossary-default-action">default action</a> of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event.</p>
           </dd>