Skip to content
Permalink
Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@7517 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Nov 20, 2012
1 parent 6c4f5f7 commit da1683334a8e5bfe04f06918419518854c25ee96
Showing with 31 additions and 26 deletions.
  1. +9 −8 complete.html
  2. +9 −8 index
  3. +13 −10 source
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
17 index
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
23 source

</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

0 comments on commit da16833

Please sign in to comment.
You can’t perform that action at this time.