[html5] r7517 - [giow] (1) Make it possible for <input type="time" name="t" value="14:39:24"> to [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Nov 20 11:49:22 PST 2012
Author: ianh
Date: 2012-11-20 11:49:21 -0800 (Tue, 20 Nov 2012)
New Revision: 7517
Modified:
complete.html
index
source
Log:
[giow] (1) Make it possible for <input type="time" name="t" value="14:39:24"> to be submitted (before, it couldn't because it didn't match the step, but now, if possible, the step is based on the default value rather than zero if there's no min).
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2012-11-20 07:45:23 UTC (rev 7516)
+++ complete.html 2012-11-20 19:49:21 UTC (rev 7517)
@@ -52443,14 +52443,15 @@
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> attribute, unless the element does
- not have a <code title=attr-input-min><a href=#attr-input-min>min</a></code> 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 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>
<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
Modified: index
===================================================================
--- index 2012-11-20 07:45:23 UTC (rev 7516)
+++ index 2012-11-20 19:49:21 UTC (rev 7517)
@@ -52443,14 +52443,15 @@
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> attribute, unless the element does
- not have a <code title=attr-input-min><a href=#attr-input-min>min</a></code> 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 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>
<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
Modified: source
===================================================================
--- source 2012-11-20 07:45:23 UTC (rev 7516)
+++ source 2012-11-20 19:49:21 UTC (rev 7517)
@@ -61359,16 +61359,19 @@
</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> attribute, unless the element does
- not have a <code title="attr-input-min">min</code> 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 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><strong>Constraint validation</strong>: When the element has an
<span title="concept-input-step">allowed value step</span>, and the
More information about the Commit-Watchers
mailing list