Skip to content

Commit 5f85452

Browse files
committedNov 30, 2008
[] (0) Oops, boundary checking on <meter> was off. (credit: ab)
git-svn-id: http://svn.whatwg.org/webapps@2485 340c8d12-0b0e-0410-8428-c7bf67bfef74
1 parent 4729c36 commit 5f85452

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed
 

‎index

+11-7
Original file line numberDiff line numberDiff line change
@@ -12843,7 +12843,7 @@ this specification: the &lt;abbr&gt;WHATWG&lt;/abbr&gt; and the
1284312843

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

1284812848
<dd>
1284912849

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

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

1304013042
</dd>
1304113043

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

13051-
<p>If the above results in a high boundary that is higher than the
13052-
maximum value, the high boundary is the maximum value.</p>
13053+
<p>If the high boundary is then less than the low boundary, then
13054+
the high boundary is actually the same as the low
13055+
boundary. Similarly, if the high boundary is greater than the
13056+
maximum value, then it is actually the maximum value instead.</p>
1305313057

1305413058
</dd>
1305513059

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

1307013074
</dd>
1307113075

13072-
</dl><p>All of which should result in the following inequalities all
13073-
being true:</p>
13076+
</dl><p>All of which will result in the following inequalities all being
13077+
true:</p>
1307413078

1307513079
<ul class=brief><li>minimum value &le; actual value &le; maximum value</li>
1307613080
<li>minimum value &le; low boundary &le; high boundary &le; maximum value</li>

‎source

+11-7
Original file line numberDiff line numberDiff line change
@@ -13715,7 +13715,7 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the
1371513715

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

1372013720
<dd>
1372113721

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

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

1393613938
</dd>
1393713939

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

13947-
<p>If the above results in a high boundary that is higher than the
13948-
maximum value, the high boundary is the maximum value.</p>
13949+
<p>If the high boundary is then less than the low boundary, then
13950+
the high boundary is actually the same as the low
13951+
boundary. Similarly, if the high boundary is greater than the
13952+
maximum value, then it is actually the maximum value instead.</p>
1394913953

1395013954
</dd>
1395113955

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

1396813972
</dl>
1396913973

13970-
<p>All of which should result in the following inequalities all
13971-
being true:</p>
13974+
<p>All of which will result in the following inequalities all being
13975+
true:</p>
1397213976

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

0 commit comments

Comments
 (0)
Please sign in to comment.