Fixed Bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17628
authortleithea
Fri, 24 Aug 2012 05:35:12 +0900
changeset 388 5d1d153968ab
parent 387 d88e278724f2
child 389 9028f6a4b467
Fixed Bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17628
wheel event interface goes from float -> double for better potential precision.
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Tue Jul 31 09:07:21 2012 +0900
+++ b/html/DOM3-Events.html	Fri Aug 24 05:35:12 2012 +0900
@@ -17,16 +17,16 @@
 
 		<h1 id="Overview-title">Document Object Model (DOM) Level 3 Events Specification</h1>
 
-		<h2 id="Overview-W3C-doctype">W3C Editor's Draft <span class="2012-07-30">30 July 2012</span></h2>
+		<h2 id="Overview-W3C-doctype">W3C Editor's Draft <span class="2012-08-23">23 August 2012</span></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.236">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.236</a></dd>
+			<dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.237">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.237</a></dd>
 
 			<dt>Latest stable version:</dt>
 			<dd><a href="http://www.w3.org/TR/DOM-Level-3-Events/">http://www.w3.org/TR/DOM-Level-3-Events/</a></dd>
 
 			<dt>Previous version:</dt>
-			<dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.235">http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.235</a></dd>
+			<dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.236">http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.236</a></dd>
 
 			<dt>Editor's Draft:</dt>
 			<dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html</a></dd>
@@ -4550,9 +4550,9 @@
   const unsigned long              <a href="#events-DOM_DELTA_LINE">DOM_DELTA_LINE</a>  = 0x01;
   const unsigned long              <a href="#events-DOM_DELTA_PAGE">DOM_DELTA_PAGE</a>  = 0x02;
 
-  readonly attribute float         <a href="#events-WheelEvent-deltaX">deltaX</a>;
-  readonly attribute float         <a href="#events-WheelEvent-deltaY">deltaY</a>;
-  readonly attribute float         <a href="#events-WheelEvent-deltaZ">deltaZ</a>;
+  readonly attribute double         <a href="#events-WheelEvent-deltaX">deltaX</a>;
+  readonly attribute double         <a href="#events-WheelEvent-deltaY">deltaY</a>;
+  readonly attribute double         <a href="#events-WheelEvent-deltaZ">deltaZ</a>;
   readonly attribute unsigned long <a href="#events-WheelEvent-deltaMode">deltaMode</a>;    
 };
 </code></pre>
@@ -4584,7 +4584,7 @@
 							<dt><strong>Attributes</strong></dt>
 							<dd>
 								<dl>
-									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaX">deltaX</a></code> of type <code>float</code>, readonly</dt>
+									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaX">deltaX</a></code> of type <code>double</code>, readonly</dt>
 									<dd>
 										<p>In user agents where the default action of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event is to scroll, the value <span class="must">must</span> be the measurement along 
 											the x-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific 
@@ -4593,7 +4593,7 @@
 										<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute <span class="must">must</span> be <code>0</code>.</p>
 									</dd>
 
-									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaY">deltaY</a></code> of type <code>float</code>, readonly</dt>
+									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaY">deltaY</a></code> of type <code>double</code>, readonly</dt>
 									<dd>
 										<p>In user agents where the default action of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event is to scroll, the value <span class="must">must</span> be the measurement along 
 											the y-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific 
@@ -4602,7 +4602,7 @@
 										<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute <span class="must">must</span> be <code>0</code>.</p>
 									</dd>
 
-									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaZ">deltaZ</a></code> of type <code>float</code>, readonly</dt>
+									<dt><code class="attribute-name"><a id="events-WheelEvent-deltaZ">deltaZ</a></code> of type <code>double</code>, readonly</dt>
 									<dd>
 										<p>In user agents where the default action of the <a class="eventtype" href="#event-type-wheel"><code>wheel</code></a> event is to scroll, the value <span class="must">must</span> be the measurement along 
 											the z-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific 
@@ -8544,9 +8544,9 @@
                       unsigned short buttonArg, 
                       <a href="#events-EventTarget">EventTarget</a>? relatedTargetArg, 
                       DOMString modifiersListArg, 
-                      float deltaXArg, 
-                      float deltaYArg, 
-                      float deltaZArg, 
+                      double deltaXArg, 
+                      double deltaYArg, 
+                      double deltaZArg, 
                       unsigned long deltaMode);
 };
 
@@ -8575,9 +8575,9 @@
   <a href="#events-EventTarget">EventTarget</a>?   relatedTarget = null;
 
   <span class="comment">// Attributes for WheelEvent:</span>
-  float          deltaX        = 0.0;
-  float          deltaY        = 0.0;
-  float          deltaZ        = 0.0;
+  double          deltaX        = 0.0;
+  double          deltaY        = 0.0;
+  double          deltaZ        = 0.0;
   unsigned long  deltaMode     = 0;
 };</code></pre>
 				</dd>
@@ -8789,13 +8789,13 @@
 													on the initialized <code>WheelEvent</code> object).</p>
 											</dd>
 
-											<dt><code class="parameter-name">deltaXArg</code> of type <code>float</code></dt>
+											<dt><code class="parameter-name">deltaXArg</code> of type <code>double</code></dt>
 											<dd><p>Specifies <a href="#events-WheelEvent-deltaX"><code>WheelEvent.deltaX</code></a>.</p></dd>
 
-											<dt><code class="parameter-name">deltaYArg</code> of type <code>float</code></dt>
+											<dt><code class="parameter-name">deltaYArg</code> of type <code>double</code></dt>
 											<dd><p>Specifies <a href="#events-WheelEvent-deltaY"><code>WheelEvent.deltaY</code></a>.</p></dd>
 
-											<dt><code class="parameter-name">deltaZArg</code> of type <code>float</code></dt>
+											<dt><code class="parameter-name">deltaZArg</code> of type <code>double</code></dt>
 											<dd><p>Specifies <a href="#events-WheelEvent-deltaZ"><code>WheelEvent.deltaZ</code></a>.</p></dd>
 
 											<dt><code class="parameter-name">deltaModeArg</code> of type <code>unsigned long</code></dt>