[html5] r3526 - [] (0) Forgot to say what the argument to stepUp()/stepDown() does.

whatwg at whatwg.org whatwg at whatwg.org
Sun Aug 2 20:24:45 PDT 2009


Author: ianh
Date: 2009-08-02 20:24:43 -0700 (Sun, 02 Aug 2009)
New Revision: 3526

Modified:
   index
   source
Log:
[] (0) Forgot to say what the argument to stepUp()/stepDown() does.

Modified: index
===================================================================
--- index	2009-08-02 10:21:50 UTC (rev 3525)
+++ index	2009-08-03 03:24:43 UTC (rev 3526)
@@ -71,7 +71,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 2 August 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 3 August 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -33675,18 +33675,19 @@
 
    </dd>
 
-   <dt><var title="">input</var> . <code title=dom-input-stepUp><a href=#dom-input-stepup>stepUp</a></code>()</dt>
-   <dt><var title="">input</var> . <code title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown</a></code>()</dt>
+   <dt><var title="">input</var> . <code title=dom-input-stepUp><a href=#dom-input-stepup>stepUp</a></code>(<var title="">n</var>)</dt>
+   <dt><var title="">input</var> . <code title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown</a></code>(<var title="">n</var>)</dt>
 
    <dd>
 
     <p>Changes the form control's <a href=#concept-fe-value title=concept-fe-value>value</a> by the value given in the
-    <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute.</p>
+    <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute, multiplied by
+    <var title="">n</var>.</p>
 
     <p>Throws <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception if the control
     is neither date- or time-based nor numeric, if the <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute's value is "<code title="">any</code>", if the current <a href=#concept-fe-value title=concept-fe-value>value</a> could not be parsed, or if
-    stepping in the given direction would take the value out of
-    range.</p>
+    stepping in the given direction by the given amount would take the
+    value out of range.</p>
 
    </dd>
 
@@ -33804,9 +33805,8 @@
   value, and set the <a href=#concept-fe-value title=concept-fe-value>value</a> of
   the element to resulting string.</p>
 
-  <hr><p>The <dfn id=dom-input-stepdown title=dom-input-stepDown><code>stepDown()</code></dfn>
-  and <dfn id=dom-input-stepup title=dom-input-stepUp><code>stepUp()</code></dfn>
-  methods, when invoked, must run the following algorithm:</p>
+  <hr><p>The <dfn id=dom-input-stepdown title=dom-input-stepDown><code>stepDown(<var title="">n</var>)</code></dfn> and <dfn id=dom-input-stepup title=dom-input-stepUp><code>stepUp(<var title="">n</var>)</code></dfn> methods, when invoked, must run the
+  following algorithm:</p>
 
   <ol><li><p>If the <code title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and
    <code title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods do not
@@ -33825,7 +33825,8 @@
    these steps; otherwise, let <var title="">value</var> be the result
    of that algorithm.</li>
 
-   <li><p>Let <var title="">delta</var> be the <a href=#concept-input-step title=concept-input-step>allowed value step</a>.</li>
+   <li><p>Let <var title="">delta</var> be the <a href=#concept-input-step title=concept-input-step>allowed value step</a> multiplied by
+   <var title="">n</var>.</li>
 
    <li><p>If the method invoked was the <code title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> method, negate <var title="">delta</var>.</li>
 

Modified: source
===================================================================
--- source	2009-08-02 10:21:50 UTC (rev 3525)
+++ source	2009-08-03 03:24:43 UTC (rev 3526)
@@ -37468,22 +37468,23 @@
 
    </dd>
 
-   <dt><var title="">input</var> . <code title="dom-input-stepUp">stepUp</code>()</dt>
-   <dt><var title="">input</var> . <code title="dom-input-stepDown">stepDown</code>()</dt>
+   <dt><var title="">input</var> . <code title="dom-input-stepUp">stepUp</code>(<var title="">n</var>)</dt>
+   <dt><var title="">input</var> . <code title="dom-input-stepDown">stepDown</code>(<var title="">n</var>)</dt>
 
    <dd>
 
     <p>Changes the form control's <span
     title="concept-fe-value">value</span> by the value given in the
-    <code title="attr-input-step">step</code> attribute.</p>
+    <code title="attr-input-step">step</code> attribute, multiplied by
+    <var title="">n</var>.</p>
 
     <p>Throws <code>INVALID_ACCESS_ERR</code> exception if the control
     is neither date- or time-based nor numeric, if the <code
     title="attr-input-step">step</code> attribute's value is "<code
     title="">any</code>", if the current <span
     title="concept-fe-value">value</span> could not be parsed, or if
-    stepping in the given direction would take the value out of
-    range.</p>
+    stepping in the given direction by the given amount would take the
+    value out of range.</p>
 
    </dd>
 
@@ -37651,9 +37652,11 @@
 
   <hr>
 
-  <p>The <dfn title="dom-input-stepDown"><code>stepDown()</code></dfn>
-  and <dfn title="dom-input-stepUp"><code>stepUp()</code></dfn>
-  methods, when invoked, must run the following algorithm:</p>
+  <p>The <dfn title="dom-input-stepDown"><code>stepDown(<var
+  title="">n</var>)</code></dfn> and <dfn
+  title="dom-input-stepUp"><code>stepUp(<var
+  title="">n</var>)</code></dfn> methods, when invoked, must run the
+  following algorithm:</p>
 
   <ol>
 
@@ -37678,7 +37681,8 @@
    of that algorithm.</p></li>
 
    <li><p>Let <var title="">delta</var> be the <span
-   title="concept-input-step">allowed value step</span>.</p></li>
+   title="concept-input-step">allowed value step</span> multiplied by
+   <var title="">n</var>.</p></li>
 
    <li><p>If the method invoked was the <code
    title="dom-input-stepDown">stepDown()</code> method, negate <var




More information about the Commit-Watchers mailing list