Skip to content

Commit

Permalink
[e] (0) Clarity.
Browse files Browse the repository at this point in the history
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7529 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 23, 2012
1 parent e806798 commit 8d3d905
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 33 deletions.
29 changes: 19 additions & 10 deletions complete.html
Expand Up @@ -52498,17 +52498,26 @@ <h6 id=the-step-attribute><span class=secno>4.10.7.3.8 </span>The <code title=at
floating-point number values</a> when they are applied to the
attribute's value, multiplied by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a>.</li>

</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a string to a number</a> to the
value of the <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute, unless the element does
not have a <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute specified or the result of
applying that algorithm is an error, in which case the <a href=#concept-input-min-zero title=concept-input-min-zero>step
base</a> is the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a string to a number</a> to the
value of the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute, unless the element
does not have a <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute specified or the
result of applying that algorithm is an error, in which case the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a> is the <a href=#concept-input-step-default-base title=concept-input-step-default-base>default step base</a>, if one is defined, or zero, if
not.</p>
</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the value return by the following
algorithm:</p>

<ol><li><p>If the element has a <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute, and the
result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the value of the <code title=attr-input-min><a href=#attr-input-min>min</a></code> content
attribute is not an error, then return that result and abort these steps.</li>

<li><p>If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute, and
the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the value of the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content
attribute is not an error, then return that result and abort these steps.</li>

<li><p>If a <a href=#concept-input-step-default-base title=concept-input-step-default-base>default step base</a> is defined for
this element given its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's state, then return
it and abort these steps.</p>

<li><p>Return zero.</li>

<p><strong>Constraint validation</strong>: When the element has an
</ol><p><strong>Constraint validation</strong>: When the element has an
<a href=#concept-input-step title=concept-input-step>allowed value step</a>, and the
result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the string given by the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, and that
Expand Down
29 changes: 19 additions & 10 deletions index
Expand Up @@ -52498,17 +52498,26 @@ You cannot submit this form when the field is incorrect.</samp></pre>
floating-point number values</a> when they are applied to the
attribute's value, multiplied by the <a href=#concept-input-step-scale title=concept-input-step-scale>step scale factor</a>.</li>

</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a string to a number</a> to the
value of the <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute, unless the element does
not have a <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute specified or the result of
applying that algorithm is an error, in which case the <a href=#concept-input-min-zero title=concept-input-min-zero>step
base</a> is the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a string to a number</a> to the
value of the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute, unless the element
does not have a <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute specified or the
result of applying that algorithm is an error, in which case the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a> is the <a href=#concept-input-step-default-base title=concept-input-step-default-base>default step base</a>, if one is defined, or zero, if
not.</p>
</ol><p>The <dfn id=concept-input-min-zero title=concept-input-min-zero>step base</dfn> is the value return by the following
algorithm:</p>

<ol><li><p>If the element has a <code title=attr-input-min><a href=#attr-input-min>min</a></code> content attribute, and the
result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the value of the <code title=attr-input-min><a href=#attr-input-min>min</a></code> content
attribute is not an error, then return that result and abort these steps.</li>

<li><p>If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> content attribute, and
the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the value of the <code title=attr-input-value><a href=#attr-input-value>value</a></code> content
attribute is not an error, then return that result and abort these steps.</li>

<li><p>If a <a href=#concept-input-step-default-base title=concept-input-step-default-base>default step base</a> is defined for
this element given its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's state, then return
it and abort these steps.</p>

<li><p>Return zero.</li>

<p><strong>Constraint validation</strong>: When the element has an
</ol><p><strong>Constraint validation</strong>: When the element has an
<a href=#concept-input-step title=concept-input-step>allowed value step</a>, and the
result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a
string to a number</a> to the string given by the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is a number, and that
Expand Down
35 changes: 22 additions & 13 deletions source
Expand Up @@ -61421,19 +61421,28 @@ You cannot submit this form when the field is incorrect.</samp></pre>

</ol>

<p>The <dfn title="concept-input-min-zero">step base</dfn> is the result of applying the <span
title="concept-input-value-string-number">algorithm to convert a string to a number</span> to the
value of the <code title="attr-input-min">min</code> content attribute, unless the element does
not have a <code title="attr-input-min">min</code> content attribute specified or the result of
applying that algorithm is an error, in which case the <span title="concept-input-min-zero">step
base</span> is the result of applying the <span
title="concept-input-value-string-number">algorithm to convert a string to a number</span> to the
value of the <code title="attr-input-value">value</code> content attribute, unless the element
does not have a <code title="attr-input-value">value</code> content attribute specified or the
result of applying that algorithm is an error, in which case the <span
title="concept-input-min-zero">step base</span> is the <span
title="concept-input-step-default-base">default step base</span>, if one is defined, or zero, if
not.</p>
<p>The <dfn title="concept-input-min-zero">step base</dfn> is the value return by the following
algorithm:</p>

<ol>

<li><p>If the element has a <code title="attr-input-min">min</code> content attribute, and the
result of applying the <span title="concept-input-value-string-number">algorithm to convert a
string to a number</span> to the value of the <code title="attr-input-min">min</code> content
attribute is not an error, then return that result and abort these steps.</p></li>

<li><p>If the element has a <code title="attr-input-value">value</code> content attribute, and
the result of applying the <span title="concept-input-value-string-number">algorithm to convert a
string to a number</span> to the value of the <code title="attr-input-value">value</code> content
attribute is not an error, then return that result and abort these steps.</p></li>

<li><p>If a <span title="concept-input-step-default-base">default step base</span> is defined for
this element given its <code title="attr-input-type">type</code> attribute's state, then return
it and abort these steps.</p>

<li><p>Return zero.</p></li>

</ol>

<p><strong>Constraint validation</strong>: When the element has an
<span title="concept-input-step">allowed value step</span>, and the
Expand Down

0 comments on commit 8d3d905

Please sign in to comment.