- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 03 Aug 2009 03:24:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv4136 Modified Files: Overview.html Log Message: Forgot to say what the argument to stepUp()/stepDown() does. (whatwg r3526) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2723 retrieving revision 1.2724 diff -u -d -r1.2723 -r1.2724 --- Overview.html 2 Aug 2009 10:21:55 -0000 1.2723 +++ Overview.html 3 Aug 2009 03:24:49 -0000 1.2724 @@ -175,7 +175,7 @@ <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> <!--ZZZ:--> <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>--> - <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 2 August 2009</h2> + <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 3 August 2009</h2> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out <dt>This Version:</dt> @@ -273,7 +273,7 @@ track. <!--ZZZ:--> <!--This specification is the 23 April 2009 Working Draft.--> - This specification is the 2 August 2009 Editor's Draft. + This specification is the 3 August 2009 Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -29852,18 +29852,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> @@ -29981,9 +29982,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 @@ -30002,7 +30002,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>
Received on Monday, 3 August 2009 03:25:02 UTC