[html5] r7670 - [giow] (2) Try to make stepUp/stepDown make more sense again. Affected topics: D [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 30 11:45:59 PST 2013


Author: ianh
Date: 2013-01-30 11:45:57 -0800 (Wed, 30 Jan 2013)
New Revision: 7670

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Try to make stepUp/stepDown make more sense again.
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-01-29 20:59:09 UTC (rev 7669)
+++ complete.html	2013-01-30 19:45:57 UTC (rev 7670)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 29 January 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 30 January 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -51417,11 +51417,11 @@
 
     </ol></li>
 
-   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>minimum</a>, and <var title="">value</var> is less than that <a href=#concept-input-min title=concept-input-min>minimum</a>, then abort
-   these steps.</li>
+   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>minimum</a>, and <var title="">value</var> is less than that <a href=#concept-input-min title=concept-input-min>minimum</a>, then set
+   <var title="">value</var> to the smallest value that, when subtracted from the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a>, is an integral multiple of the <a href=#concept-input-step title=concept-input-step>allowed value step</a>, and that is more than or equal to <var title="">minimum</var>.</li>
 
-   <li><p>If the element has a <a href=#concept-input-max title=concept-input-max>maximum</a>, and <var title="">value</var> is greater than that <a href=#concept-input-max title=concept-input-max>maximum</a>, then
-   abort these steps.</li>
+   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>maximum</a>, and <var title="">value</var> is greater than that <a href=#concept-input-min title=concept-input-min>maximum</a>, then
+   set <var title="">value</var> to the largest value that, when subtracted from the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a>, is an integral multiple of the <a href=#concept-input-step title=concept-input-step>allowed value step</a>, and that is less than or equal to <var title="">maximum</var>.</li>
 
    <li><p>Let <var title="">value as string</var> be the result of
    running the <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a

Modified: index
===================================================================
--- index	2013-01-29 20:59:09 UTC (rev 7669)
+++ index	2013-01-30 19:45:57 UTC (rev 7670)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 29 January 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 30 January 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -51417,11 +51417,11 @@
 
     </ol></li>
 
-   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>minimum</a>, and <var title="">value</var> is less than that <a href=#concept-input-min title=concept-input-min>minimum</a>, then abort
-   these steps.</li>
+   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>minimum</a>, and <var title="">value</var> is less than that <a href=#concept-input-min title=concept-input-min>minimum</a>, then set
+   <var title="">value</var> to the smallest value that, when subtracted from the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a>, is an integral multiple of the <a href=#concept-input-step title=concept-input-step>allowed value step</a>, and that is more than or equal to <var title="">minimum</var>.</li>
 
-   <li><p>If the element has a <a href=#concept-input-max title=concept-input-max>maximum</a>, and <var title="">value</var> is greater than that <a href=#concept-input-max title=concept-input-max>maximum</a>, then
-   abort these steps.</li>
+   <li><p>If the element has a <a href=#concept-input-min title=concept-input-min>maximum</a>, and <var title="">value</var> is greater than that <a href=#concept-input-min title=concept-input-min>maximum</a>, then
+   set <var title="">value</var> to the largest value that, when subtracted from the <a href=#concept-input-min-zero title=concept-input-min-zero>step base</a>, is an integral multiple of the <a href=#concept-input-step title=concept-input-step>allowed value step</a>, and that is less than or equal to <var title="">maximum</var>.</li>
 
    <li><p>Let <var title="">value as string</var> be the result of
    running the <a href=#concept-input-value-number-string title=concept-input-value-number-string>algorithm to convert a

Modified: source
===================================================================
--- source	2013-01-29 20:59:09 UTC (rev 7669)
+++ source	2013-01-30 19:45:57 UTC (rev 7670)
@@ -59980,12 +59980,18 @@
    </li>
 
    <li><p>If the element has a <span title="concept-input-min">minimum</span>, and <var
-   title="">value</var> is less than that <span title="concept-input-min">minimum</span>, then abort
-   these steps.</p></li>
+   title="">value</var> is less than that <span title="concept-input-min">minimum</span>, then set
+   <var title="">value</var> to the smallest value that, when subtracted from the <span
+   title="concept-input-min-zero">step base</span>, is an integral multiple of the <span
+   title="concept-input-step">allowed value step</span>, and that is more than or equal to <var
+   title="">minimum</var>.</p></li>
 
-   <li><p>If the element has a <span title="concept-input-max">maximum</span>, and <var
-   title="">value</var> is greater than that <span title="concept-input-max">maximum</span>, then
-   abort these steps.</p></li>
+   <li><p>If the element has a <span title="concept-input-min">maximum</span>, and <var
+   title="">value</var> is greater than that <span title="concept-input-min">maximum</span>, then
+   set <var title="">value</var> to the largest value that, when subtracted from the <span
+   title="concept-input-min-zero">step base</span>, is an integral multiple of the <span
+   title="concept-input-step">allowed value step</span>, and that is less than or equal to <var
+   title="">maximum</var>.</p></li>
 
    <li><p>Let <var title="">value as string</var> be the result of
    running the <span




More information about the Commit-Watchers mailing list