- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 25 Sep 2010 19:16:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30955
Modified Files:
common-dom-interfaces.html spec.html
Log Message:
select.size should never return 0 (also affects other attributes) (whatwg r5495)
[updated by splitter]
Index: common-dom-interfaces.html
===================================================================
RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- common-dom-interfaces.html 24 Sep 2010 22:16:42 -0000 1.15
+++ common-dom-interfaces.html 25 Sep 2010 19:16:39 -0000 1.16
@@ -442,16 +442,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="common-microsyntaxes.html#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 1 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="common-microsyntaxes.html#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
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1218
retrieving revision 1.1219
diff -u -d -r1.1218 -r1.1219
--- spec.html 25 Sep 2010 18:17:06 -0000 1.1218
+++ spec.html 25 Sep 2010 19:16:39 -0000 1.1219
@@ -338,7 +338,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.4384.
+This is revision 1.4386.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Saturday, 25 September 2010 19:16:42 UTC