Skip to content

Commit

Permalink
[] (0) Oops, boundary checking on <meter> was off. (credit: ab)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2485 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 30, 2008
1 parent 4729c36 commit 5f85452
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
18 changes: 11 additions & 7 deletions index
Expand Up @@ -12843,7 +12843,7 @@ this specification: the &lt;abbr&gt;WHATWG&lt;/abbr&gt; and the

<dt>There are no numbers in the contents of the element, and the
<code title=attr-meter-value><a href=#attr-meter-value>value</a></code> attribute is
specified.</dt>
specified</dt>

<dd>

Expand Down Expand Up @@ -13034,8 +13034,10 @@ and a height of &lt;meter&gt;2cm&lt;/meter&gt;.&lt;/p&gt; &lt;!-- <strong>BAD!</
boundary is that value. Otherwise, the low boundary is the same as
the minimum value.</p>

<p>If the above results in a low boundary that is less than the
minimum value, the low boundary is the minimum value.</p>
<p>If the low boundary is then less than the minimum value, then
the low boundary is actually the same as the minimum
value. Similarly, if the low boundary is greater than the maximum
value, then it is actually the maximum value instead.</p>

</dd>

Expand All @@ -13048,8 +13050,10 @@ and a height of &lt;meter&gt;2cm&lt;/meter&gt;.&lt;/p&gt; &lt;!-- <strong>BAD!</
boundary is that value. Otherwise, the high boundary is the same
as the maximum value.</p>

<p>If the above results in a high boundary that is higher than the
maximum value, the high boundary is the maximum value.</p>
<p>If the high boundary is then less than the low boundary, then
the high boundary is actually the same as the low
boundary. Similarly, if the high boundary is greater than the
maximum value, then it is actually the maximum value instead.</p>

</dd>

Expand All @@ -13069,8 +13073,8 @@ and a height of &lt;meter&gt;2cm&lt;/meter&gt;.&lt;/p&gt; &lt;!-- <strong>BAD!</

</dd>

</dl><p>All of which should result in the following inequalities all
being true:</p>
</dl><p>All of which will result in the following inequalities all being
true:</p>

<ul class=brief><li>minimum value &le; actual value &le; maximum value</li>
<li>minimum value &le; low boundary &le; high boundary &le; maximum value</li>
Expand Down
18 changes: 11 additions & 7 deletions source
Expand Up @@ -13715,7 +13715,7 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the

<dt>There are no numbers in the contents of the element, and the
<code title="attr-meter-value">value</code> attribute is
specified.</dt>
specified</dt>

<dd>

Expand Down Expand Up @@ -13930,8 +13930,10 @@ and a height of &lt;meter>2cm&lt;/meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> -
boundary is that value. Otherwise, the low boundary is the same as
the minimum value.</p>

<p>If the above results in a low boundary that is less than the
minimum value, the low boundary is the minimum value.</p>
<p>If the low boundary is then less than the minimum value, then
the low boundary is actually the same as the minimum
value. Similarly, if the low boundary is greater than the maximum
value, then it is actually the maximum value instead.</p>

</dd>

Expand All @@ -13944,8 +13946,10 @@ and a height of &lt;meter>2cm&lt;/meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> -
boundary is that value. Otherwise, the high boundary is the same
as the maximum value.</p>

<p>If the above results in a high boundary that is higher than the
maximum value, the high boundary is the maximum value.</p>
<p>If the high boundary is then less than the low boundary, then
the high boundary is actually the same as the low
boundary. Similarly, if the high boundary is greater than the
maximum value, then it is actually the maximum value instead.</p>

</dd>

Expand All @@ -13967,8 +13971,8 @@ and a height of &lt;meter>2cm&lt;/meter>.&lt;/p> &lt;!-- <strong>BAD!</strong> -

</dl>

<p>All of which should result in the following inequalities all
being true:</p>
<p>All of which will result in the following inequalities all being
true:</p>

<ul class="brief">
<li>minimum value &le; actual value &le; maximum value</li>
Expand Down

0 comments on commit 5f85452

Please sign in to comment.