Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Consider <input type=range value=-1 max=2 step=3>
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7641 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 17, 2013
1 parent 7512c0d commit 547a3cf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 31 deletions.
18 changes: 8 additions & 10 deletions complete.html
Expand Up @@ -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 &mdash; Last Updated 9 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 17 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>
Expand Down Expand Up @@ -49585,15 +49585,12 @@ <h6 id="range-state-(type=range)"><span class=secno>4.10.7.1.14 </span><dfn titl

<div class=impl>

<p>When the element is <a href=#suffering-from-a-step-mismatch>suffering from a step mismatch</a>,
the user agent must round the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the nearest number for
which the element would not <a href=#suffering-from-a-step-mismatch title="suffering from a step
mismatch">suffer from a step mismatch</a>, and which is greater
than or equal to the <a href=#concept-input-min title=concept-input-min>minimum</a>,
and, if the <a href=#concept-input-max title=concept-input-max>maximum</a> is not
less than the <a href=#concept-input-min title=concept-input-min>minimum</a>, which
is less than or equal to the <a href=#concept-input-max title=concept-input-max>maximum</a>. If two numbers match these
constraints, then user agents must use the one nearest to positive
<p>When the element is <a href=#suffering-from-a-step-mismatch>suffering from a step mismatch</a>, the user agent must round the
element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the nearest number for which the element
would not <a href=#suffering-from-a-step-mismatch title="suffering from a step mismatch">suffer from a step mismatch</a>, and
which is greater than or equal to the <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the
<a href=#concept-input-max title=concept-input-max>maximum</a> is not less than the <a href=#concept-input-min title=concept-input-min>minimum</a>, which is less than or equal to the <a href=#concept-input-max title=concept-input-max>maximum</a>, if there is a number that matches these constraints. If
two numbers match these constraints, then user agents must use the one nearest to positive
infinity.</p>

<p class=example>For example, the markup
Expand Down Expand Up @@ -105101,6 +105098,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
Jonas Sicking,
Jonathan Cook,
Jonathan Rees,
Jonathan Watt,
Jonathan Worent,
Jonny Axelsson,
Jordan Tucker,
Expand Down
18 changes: 8 additions & 10 deletions index
Expand Up @@ -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 &mdash; Last Updated 9 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 17 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>
Expand Down Expand Up @@ -49585,15 +49585,12 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

<div class=impl>

<p>When the element is <a href=#suffering-from-a-step-mismatch>suffering from a step mismatch</a>,
the user agent must round the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the nearest number for
which the element would not <a href=#suffering-from-a-step-mismatch title="suffering from a step
mismatch">suffer from a step mismatch</a>, and which is greater
than or equal to the <a href=#concept-input-min title=concept-input-min>minimum</a>,
and, if the <a href=#concept-input-max title=concept-input-max>maximum</a> is not
less than the <a href=#concept-input-min title=concept-input-min>minimum</a>, which
is less than or equal to the <a href=#concept-input-max title=concept-input-max>maximum</a>. If two numbers match these
constraints, then user agents must use the one nearest to positive
<p>When the element is <a href=#suffering-from-a-step-mismatch>suffering from a step mismatch</a>, the user agent must round the
element's <a href=#concept-fe-value title=concept-fe-value>value</a> to the nearest number for which the element
would not <a href=#suffering-from-a-step-mismatch title="suffering from a step mismatch">suffer from a step mismatch</a>, and
which is greater than or equal to the <a href=#concept-input-min title=concept-input-min>minimum</a>, and, if the
<a href=#concept-input-max title=concept-input-max>maximum</a> is not less than the <a href=#concept-input-min title=concept-input-min>minimum</a>, which is less than or equal to the <a href=#concept-input-max title=concept-input-max>maximum</a>, if there is a number that matches these constraints. If
two numbers match these constraints, then user agents must use the one nearest to positive
infinity.</p>

<p class=example>For example, the markup
Expand Down Expand Up @@ -105101,6 +105098,7 @@ if (s = prompt('What is your name?')) {
Jonas Sicking,
Jonathan Cook,
Jonathan Rees,
Jonathan Watt,
Jonathan Worent,
Jonny Axelsson,
Jordan Tucker,
Expand Down
20 changes: 9 additions & 11 deletions source
Expand Up @@ -57876,17 +57876,14 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

<div class="impl">

<p>When the element is <span>suffering from a step mismatch</span>,
the user agent must round the element's <span
title="concept-fe-value">value</span> to the nearest number for
which the element would not <span title="suffering from a step
mismatch">suffer from a step mismatch</span>, and which is greater
than or equal to the <span title="concept-input-min">minimum</span>,
and, if the <span title="concept-input-max">maximum</span> is not
less than the <span title="concept-input-min">minimum</span>, which
is less than or equal to the <span
title="concept-input-max">maximum</span>. If two numbers match these
constraints, then user agents must use the one nearest to positive
<p>When the element is <span>suffering from a step mismatch</span>, the user agent must round the
element's <span title="concept-fe-value">value</span> to the nearest number for which the element
would not <span title="suffering from a step mismatch">suffer from a step mismatch</span>, and
which is greater than or equal to the <span title="concept-input-min">minimum</span>, and, if the
<span title="concept-input-max">maximum</span> is not less than the <span
title="concept-input-min">minimum</span>, which is less than or equal to the <span
title="concept-input-max">maximum</span>, if there is a number that matches these constraints. If
two numbers match these constraints, then user agents must use the one nearest to positive
infinity.</p>

<p class="example">For example, the markup
Expand Down Expand Up @@ -123036,6 +123033,7 @@ if (s = prompt('What is your name?')) {
Jonas Sicking,
Jonathan Cook,
Jonathan Rees,
Jonathan Watt,
Jonathan Worent,
Jonny Axelsson,
Jordan Tucker,
Expand Down

0 comments on commit 547a3cf

Please sign in to comment.