html5/spec Overview.html,1.4384,1.4385

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

Modified Files:
	Overview.html 
Log Message:
unsigned long range - extend fix in r5472 to cover also those unsigned long attributes limited to non-zero values. (whatwg r5494)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4384
retrieving revision 1.4385
diff -u -d -r1.4384 -r1.4385
--- Overview.html	25 Sep 2010 18:14:15 -0000	1.4384
+++ Overview.html	25 Sep 2010 18:53:00 -0000	1.4385
@@ -5829,16 +5829,16 @@
   similar to the previous case, but zero is not allowed. On getting,
   the content attribute must first be parsed according to the
   <a href="#rules-for-parsing-non-negative-integers">rules for parsing non-negative integers</a>, and if that is
-  successful, and the value is in the range of the IDL attribute's
-  type, 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
+  successful, and the value is in the range 0 to 2147483647 inclusive,
+  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 1 if there is
   no default value. On setting, if the value is zero, the user agent
   must fire an <code><a href="#index_size_err">INDEX_SIZE_ERR</a></code> exception. Otherwise, the
   given value must be converted to the shortest possible string
   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>
+  value.</p> <!-- see previous paragraph for note about the range -->
 
   <p>If a reflecting IDL attribute is a floating point number type
   (<code>double</code>), then, on getting, the content attribute must

Received on Saturday, 25 September 2010 18:53:07 UTC