Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Forgot to say what the argument to stepUp()/stepDown() does.
git-svn-id: http://svn.whatwg.org/webapps@3526 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 3, 2009
1 parent 0122ef2 commit f6afb45
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
21 changes: 11 additions & 10 deletions index
Expand Up @@ -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-&mdash;-date:-01-jan-1901>Draft Standard &mdash; 2 August 2009</h2>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-date:-01-jan-1901>Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -33675,18 +33675,19 @@ You cannot complete this form until the field is correct.</samp></pre>

</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>

Expand Down Expand Up @@ -33804,9 +33805,8 @@ You cannot complete this form until the field is correct.</samp></pre>
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
Expand All @@ -33825,7 +33825,8 @@ You cannot complete this form until the field is correct.</samp></pre>
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>

Expand Down
22 changes: 13 additions & 9 deletions source
Expand Up @@ -37468,22 +37468,23 @@ You cannot complete this form until the field is correct.</samp></pre>

</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>

Expand Down Expand Up @@ -37651,9 +37652,11 @@ You cannot complete this form until the field is correct.</samp></pre>

<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>

Expand All @@ -37678,7 +37681,8 @@ You cannot complete this form until the field is correct.</samp></pre>
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
Expand Down

0 comments on commit f6afb45

Please sign in to comment.