[html5] r5592 - [agiow] (0) Make meter.value clamp to the specified range on getting. Fixing htt [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Oct 7 14:06:28 PDT 2010
Author: ianh
Date: 2010-10-07 14:06:26 -0700 (Thu, 07 Oct 2010)
New Revision: 5592
Modified:
complete.html
index
source
Log:
[agiow] (0) Make meter.value clamp to the specified range on getting.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10767
Modified: complete.html
===================================================================
--- complete.html 2010-10-07 20:56:13 UTC (rev 5591)
+++ complete.html 2010-10-07 21:06:26 UTC (rev 5592)
@@ -45163,12 +45163,12 @@
<p>Similarly, if the progress bar is an indeterminate progress bar,
then the <dfn id=dom-progress-value title=dom-progress-value><code>value</code></dfn>
- IDL attribute, on getting, must −1. Otherwise, it must return
- the <a href=#concept-progress-value title=concept-progress-value>current value</a>. On
- setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
- then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content
- attribute must be set to that string.</p>
+ IDL attribute, on getting, must return −1. Otherwise, it must
+ return the <a href=#concept-progress-value title=concept-progress-value>current
+ value</a>. On setting, the given value must be converted to the
+ <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the number as a floating point
+ number</a> and then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content attribute must be
+ set to that string.</p>
<p>The <dfn id=dom-progress-max title=dom-progress-max><code>max</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
@@ -45339,7 +45339,7 @@
evaluated is important, as some of the values refer to earlier
ones.)</p>
- <dl><dt>The minimum value</dt>
+ <dl><dt>The <dfn id=concept-meter-minimum title=concept-meter-minimum>minimum value</dfn></dt>
<dd>
<p>If the <code title=attr-meter-min><a href=#attr-meter-min>min</a></code> attribute is
@@ -45347,7 +45347,7 @@
value is that value. Otherwise, the minimum value is zero.</p>
</dd>
- <dt>The maximum value</dt>
+ <dt>The <dfn id=concept-meter-maximum title=concept-meter-maximum>maximum value</dfn></dt>
<dd>
@@ -45360,7 +45360,7 @@
</dd>
- <dt>The actual value</dt>
+ <dt>The <dfn id=concept-meter-actual title=concept-meter-actual>actual value</dfn></dt>
<dd>
@@ -45376,7 +45376,7 @@
</dd>
- <dt>The low boundary</dt>
+ <dt>The <dfn id=concept-meter-low title=concept-meter-low>low boundary</dfn></dt>
<dd>
@@ -45392,7 +45392,7 @@
</dd>
- <dt>The high boundary</dt>
+ <dt>The <dfn id=concept-meter-high title=concept-meter-high>high boundary</dfn></dt>
<dd>
@@ -45408,7 +45408,7 @@
</dd>
- <dt>The optimum point</dt>
+ <dt>The <dfn id=concept-meter-optimum title=concept-meter-optimum>optimum point</dfn></dt>
<dd>
@@ -45505,7 +45505,13 @@
<div class=impl>
- <p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn>, <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn>, <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn>, <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn>, <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn>, and <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL attributes
+ <p>The <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn> IDL
+ attribute, on getting, must return the <a href=#concept-meter-actual title=concept-meter-actual>actual value</a>. On setting, the
+ given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
+ the number as a floating point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
+ to that string.</p>
+
+ <p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn>, <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn>, <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn>, <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn>, and <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name.</p>
Modified: index
===================================================================
--- index 2010-10-07 20:56:13 UTC (rev 5591)
+++ index 2010-10-07 21:06:26 UTC (rev 5592)
@@ -45143,12 +45143,12 @@
<p>Similarly, if the progress bar is an indeterminate progress bar,
then the <dfn id=dom-progress-value title=dom-progress-value><code>value</code></dfn>
- IDL attribute, on getting, must −1. Otherwise, it must return
- the <a href=#concept-progress-value title=concept-progress-value>current value</a>. On
- setting, the given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best
- representation of the number as a floating point number</a> and
- then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content
- attribute must be set to that string.</p>
+ IDL attribute, on getting, must return −1. Otherwise, it must
+ return the <a href=#concept-progress-value title=concept-progress-value>current
+ value</a>. On setting, the given value must be converted to the
+ <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of the number as a floating point
+ number</a> and then the <code title=dom-progress-value><a href=#dom-progress-value>value</a></code> content attribute must be
+ set to that string.</p>
<p>The <dfn id=dom-progress-max title=dom-progress-max><code>max</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
@@ -45319,7 +45319,7 @@
evaluated is important, as some of the values refer to earlier
ones.)</p>
- <dl><dt>The minimum value</dt>
+ <dl><dt>The <dfn id=concept-meter-minimum title=concept-meter-minimum>minimum value</dfn></dt>
<dd>
<p>If the <code title=attr-meter-min><a href=#attr-meter-min>min</a></code> attribute is
@@ -45327,7 +45327,7 @@
value is that value. Otherwise, the minimum value is zero.</p>
</dd>
- <dt>The maximum value</dt>
+ <dt>The <dfn id=concept-meter-maximum title=concept-meter-maximum>maximum value</dfn></dt>
<dd>
@@ -45340,7 +45340,7 @@
</dd>
- <dt>The actual value</dt>
+ <dt>The <dfn id=concept-meter-actual title=concept-meter-actual>actual value</dfn></dt>
<dd>
@@ -45356,7 +45356,7 @@
</dd>
- <dt>The low boundary</dt>
+ <dt>The <dfn id=concept-meter-low title=concept-meter-low>low boundary</dfn></dt>
<dd>
@@ -45372,7 +45372,7 @@
</dd>
- <dt>The high boundary</dt>
+ <dt>The <dfn id=concept-meter-high title=concept-meter-high>high boundary</dfn></dt>
<dd>
@@ -45388,7 +45388,7 @@
</dd>
- <dt>The optimum point</dt>
+ <dt>The <dfn id=concept-meter-optimum title=concept-meter-optimum>optimum point</dfn></dt>
<dd>
@@ -45485,7 +45485,13 @@
<div class=impl>
- <p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn>, <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn>, <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn>, <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn>, <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn>, and <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL attributes
+ <p>The <dfn id=dom-meter-value title=dom-meter-value><code>value</code></dfn> IDL
+ attribute, on getting, must return the <a href=#concept-meter-actual title=concept-meter-actual>actual value</a>. On setting, the
+ given value must be converted to the <a href=#best-representation-of-the-number-as-a-floating-point-number>best representation of
+ the number as a floating point number</a> and then the <code title=dom-meter-value><a href=#dom-meter-value>value</a></code> content attribute must be set
+ to that string.</p>
+
+ <p>The <dfn id=dom-meter-min title=dom-meter-min><code>min</code></dfn>, <dfn id=dom-meter-max title=dom-meter-max><code>max</code></dfn>, <dfn id=dom-meter-low title=dom-meter-low><code>low</code></dfn>, <dfn id=dom-meter-high title=dom-meter-high><code>high</code></dfn>, and <dfn id=dom-meter-optimum title=dom-meter-optimum><code>optimum</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name.</p>
Modified: source
===================================================================
--- source 2010-10-07 20:56:13 UTC (rev 5591)
+++ source 2010-10-07 21:06:26 UTC (rev 5592)
@@ -50644,12 +50644,13 @@
<p>Similarly, if the progress bar is an indeterminate progress bar,
then the <dfn title="dom-progress-value"><code>value</code></dfn>
- IDL attribute, on getting, must −1. Otherwise, it must return
- the <span title="concept-progress-value">current value</span>. On
- setting, the given value must be converted to the <span>best
- representation of the number as a floating point number</span> and
- then the <code title="dom-progress-value">value</code> content
- attribute must be set to that string.</p>
+ IDL attribute, on getting, must return −1. Otherwise, it must
+ return the <span title="concept-progress-value">current
+ value</span>. On setting, the given value must be converted to the
+ <span>best representation of the number as a floating point
+ number</span> and then the <code
+ title="dom-progress-value">value</code> content attribute must be
+ set to that string.</p>
<p>The <dfn title="dom-progress-max"><code>max</code></dfn> IDL
attribute must <span>reflect</span> the content attribute of the
@@ -50847,7 +50848,7 @@
<dl>
- <dt>The minimum value</dt>
+ <dt>The <dfn title="concept-meter-minimum">minimum value</dfn></dt>
<dd>
<p>If the <code title="attr-meter-min">min</code> attribute is
@@ -50855,7 +50856,7 @@
value is that value. Otherwise, the minimum value is zero.</p>
</dd>
- <dt>The maximum value</dt>
+ <dt>The <dfn title="concept-meter-maximum">maximum value</dfn></dt>
<dd>
@@ -50868,7 +50869,7 @@
</dd>
- <dt>The actual value</dt>
+ <dt>The <dfn title="concept-meter-actual">actual value</dfn></dt>
<dd>
@@ -50884,7 +50885,7 @@
</dd>
- <dt>The low boundary</dt>
+ <dt>The <dfn title="concept-meter-low">low boundary</dfn></dt>
<dd>
@@ -50900,7 +50901,7 @@
</dd>
- <dt>The high boundary</dt>
+ <dt>The <dfn title="concept-meter-high">high boundary</dfn></dt>
<dd>
@@ -50916,7 +50917,7 @@
</dd>
- <dt>The optimum point</dt>
+ <dt>The <dfn title="concept-meter-optimum">optimum point</dfn></dt>
<dd>
@@ -51020,9 +51021,16 @@
<div class="impl">
+ <p>The <dfn title="dom-meter-value"><code>value</code></dfn> IDL
+ attribute, on getting, must return the <span
+ title="concept-meter-actual">actual value</span>. On setting, the
+ given value must be converted to the <span>best representation of
+ the number as a floating point number</span> and then the <code
+ title="dom-meter-value">value</code> content attribute must be set
+ to that string.</p>
+
<p>The <dfn title="dom-meter-min"><code>min</code></dfn>, <dfn
title="dom-meter-max"><code>max</code></dfn>, <dfn
- title="dom-meter-value"><code>value</code></dfn>, <dfn
title="dom-meter-low"><code>low</code></dfn>, <dfn
title="dom-meter-high"><code>high</code></dfn>, and <dfn
title="dom-meter-optimum"><code>optimum</code></dfn> IDL attributes
More information about the Commit-Watchers
mailing list