html5/spec Overview.html,1.5191,1.5192

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16545

Modified Files:
	Overview.html 
Log Message:
track implementations (whatwg r6490)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5191
retrieving revision 1.5192
diff -u -d -r1.5191 -r1.5192
--- Overview.html	17 Aug 2011 19:48:52 -0000	1.5191
+++ Overview.html	17 Aug 2011 20:17:40 -0000	1.5192
@@ -6841,7 +6841,7 @@
   representing the number as a <a href="#valid-non-negative-integer">valid non-negative integer</a>
   and then that string must be used as the new content attribute
   value.</p> 
-
+ 
   <p>If a reflecting IDL attribute has a floating point number type
   (<code>double</code>), then, on getting, the content attribute must
   be parsed according to the <a href="#rules-for-parsing-floating-point-number-values">rules for parsing floating point
@@ -6853,6 +6853,22 @@
   floating point number</a> and then that string must be used as
   the new content attribute value.</p>
 
+  <p>If a reflecting IDL attribute has a floating point number type
+  (<code>double</code>) that is <dfn id="limited-to-numbers-greater-than-zero">limited to numbers greater than
+  zero</dfn>, then the behavior is similar to the previous case, but
+  zero and negative values are not allowed. On getting, the content
+  attribute must be parsed according to the <a href="#rules-for-parsing-floating-point-number-values">rules for parsing
+  floating point number values</a>, and if that is successful and
+  the value is greater than 0.0, the resulting value must be returned.
+  If, on the other hand, it fails or returns an out of range value, or
+  if the attribute is absent, the default value must be returned
+  instead, or 0.0 if there is no default value. On setting, if the
+  value is less than or equal to zero, then the value must be ignored.
+  Otherwise, 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 that string must be used as the new content attribute
+  value.</p>
+
   <p class="note">The values Infinity and Not-a-Number (NaN) values
   throw an exception on setting, as <a href="#float-nan">defined
   earlier</a>.</p>
@@ -38347,7 +38363,9 @@
 
   <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
-  same name. The default value for <code title="dom-progress-max"><a href="#dom-progress-max">max</a></code> is 1.0.</p>
+  same name, <a href="#limited-to-numbers-greater-than-zero">limited to numbers greater than zero</a>. The
+  default value for <code title="dom-progress-max"><a href="#dom-progress-max">max</a></code> is
+  1.0.</p>
 
   <p>The <code title="dom-lfe-labels"><a href="#dom-lfe-labels">labels</a></code> attribute provides
   a list of the element's <code><a href="#the-label-element">label</a></code>s.</p>

Received on Wednesday, 17 August 2011 20:17:46 UTC