HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7529

File a bug

SVNBugCommentTime (UTC)
7529Clarity.2012-11-23 21:36
Index: source
===================================================================
--- source	(revision 7528)
+++ source	(revision 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

|