hixie: Make meter.value clamp to the specified range on getting. (whatwg r5592)

hixie: Make meter.value clamp to the specified range on getting. (whatwg
r5592)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4469&r2=1.4470&f=h
http://html5.org/tools/web-apps-tracker?from=5591&to=5592

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4469
retrieving revision 1.4470
diff -u -d -r1.4469 -r1.4470
--- Overview.html 7 Oct 2010 20:56:22 -0000 1.4469
+++ Overview.html 7 Oct 2010 21:06:33 -0000 1.4470
@@ -34171,12 +34171,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 &minus;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 &minus;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
@@ -34304,7 +34304,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
@@ -34312,7 +34312,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>
 
@@ -34325,7 +34325,7 @@
 
    </dd>
 
-   <dt>The actual value</dt>
+   <dt>The <dfn id="concept-meter-actual" title="concept-meter-actual">actual value</dfn></dt>
 
    <dd>
 
@@ -34341,7 +34341,7 @@
 
    </dd>
 
-   <dt>The low boundary</dt>
+   <dt>The <dfn id="concept-meter-low" title="concept-meter-low">low boundary</dfn></dt>
 
    <dd>
 
@@ -34357,7 +34357,7 @@
 
    </dd>
 
-   <dt>The high boundary</dt>
+   <dt>The <dfn id="concept-meter-high" title="concept-meter-high">high boundary</dfn></dt>
 
    <dd>
 
@@ -34373,7 +34373,7 @@
 
    </dd>
 
-   <dt>The optimum point</dt>
+   <dt>The <dfn id="concept-meter-optimum" title="concept-meter-optimum">optimum point</dfn></dt>
 
    <dd>
 
@@ -34460,7 +34460,13 @@
   explicitly associate the <code><a href="#the-meter-element">meter</a></code> element with its
   <a href="#form-owner">form owner</a>.<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>

Received on Thursday, 7 October 2010 21:07:18 UTC