[html5] r7529 - [e] (0) Clarity. Affected topics: HTML

whatwg at whatwg.org whatwg at whatwg.org
Fri Nov 23 13:36:59 PST 2012


Author: ianh
Date: 2012-11-23 13:36:58 -0800 (Fri, 23 Nov 2012)
New Revision: 7529

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarity.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-11-23 07:46:51 UTC (rev 7528)
+++ complete.html	2012-11-23 21:36:58 UTC (rev 7529)
@@ -52498,17 +52498,26 @@
    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>
 
-  <p><strong>Constraint validation</strong>: When the element has an
+  <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>
+
+  </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

Modified: index
===================================================================
--- index	2012-11-23 07:46:51 UTC (rev 7528)
+++ index	2012-11-23 21:36:58 UTC (rev 7529)
@@ -52498,17 +52498,26 @@
    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>
 
-  <p><strong>Constraint validation</strong>: When the element has an
+  <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>
+
+  </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

Modified: source
===================================================================
--- source	2012-11-23 07:46:51 UTC (rev 7528)
+++ source	2012-11-23 21:36:58 UTC (rev 7529)
@@ -61421,20 +61421,29 @@
 
   </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
   result of applying the <span




More information about the Commit-Watchers mailing list