Browse files

[e] (0) Clarity.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7529 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent e806798 commit 8d3d9051b38aa4e54c406207eda1f859c3875536 @Hixie Hixie committed Nov 23, 2012
Showing with 60 additions and 33 deletions.
  1. +19 −10 complete.html
  2. +19 −10 index
  3. +22 −13 source
View
29 complete.html
@@ -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
View
29 index
@@ -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
View
35 source
@@ -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

0 comments on commit 8d3d905

Please sign in to comment.