[html5] r6119 - [giow] (2) select.size has odd legacy behaviour required for compat Fixing http: [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat May 7 12:17:40 PDT 2011


Author: ianh
Date: 2011-05-07 12:17:39 -0700 (Sat, 07 May 2011)
New Revision: 6119

Modified:
   complete.html
   index
   source
Log:
[giow] (2) select.size has odd legacy behaviour required for compat
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12288

Modified: complete.html
===================================================================
--- complete.html	2011-05-07 19:07:20 UTC (rev 6118)
+++ complete.html	2011-05-07 19:17:39 UTC (rev 6119)
@@ -47894,10 +47894,11 @@
   <dfn id=dom-select-size title=dom-select-size><code>size</code></dfn> IDL attributes
   must <a href=#reflect>reflect</a> the respective content attributes of the
   same name. The <code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL
-  attribute is <a href=#limited-to-only-non-negative-numbers-greater-than-zero>limited to only non-negative numbers greater than
-  zero</a>, with the default value zero (which for historical
-  reasons is different from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
-  reflects).</p>
+  attribute is <a href=#limited-to-only-non-negative-numbers>limited to only non-negative numbers</a>, with
+  the default value zero (which for historical reasons is different
+  from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
+  reflects).</p> <!-- see bug 12288 for compat reasons why .size
+  allows zero even though that value really makes no sense -->
 
   <p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>, <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
   attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>

Modified: index
===================================================================
--- index	2011-05-07 19:07:20 UTC (rev 6118)
+++ index	2011-05-07 19:17:39 UTC (rev 6119)
@@ -47922,10 +47922,11 @@
   <dfn id=dom-select-size title=dom-select-size><code>size</code></dfn> IDL attributes
   must <a href=#reflect>reflect</a> the respective content attributes of the
   same name. The <code title=dom-select-size><a href=#dom-select-size>size</a></code> IDL
-  attribute is <a href=#limited-to-only-non-negative-numbers-greater-than-zero>limited to only non-negative numbers greater than
-  zero</a>, with the default value zero (which for historical
-  reasons is different from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
-  reflects).</p>
+  attribute is <a href=#limited-to-only-non-negative-numbers>limited to only non-negative numbers</a>, with
+  the default value zero (which for historical reasons is different
+  from the default value of the <code title=attr-select-size><a href=#attr-select-size>size</a></code> content attribute that it
+  reflects).</p> <!-- see bug 12288 for compat reasons why .size
+  allows zero even though that value really makes no sense -->
 
   <p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>, <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
   attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>

Modified: source
===================================================================
--- source	2011-05-07 19:07:20 UTC (rev 6118)
+++ source	2011-05-07 19:17:39 UTC (rev 6119)
@@ -53790,11 +53790,12 @@
   <dfn title="dom-select-size"><code>size</code></dfn> IDL attributes
   must <span>reflect</span> the respective content attributes of the
   same name. The <code title="dom-select-size">size</code> IDL
-  attribute is <span>limited to only non-negative numbers greater than
-  zero</span>, with the default value zero (which for historical
-  reasons is different from the default value of the <code
+  attribute is <span>limited to only non-negative numbers</span>, with
+  the default value zero (which for historical reasons is different
+  from the default value of the <code
   title="attr-select-size">size</code> content attribute that it
-  reflects).</p>
+  reflects).</p> <!-- see bug 12288 for compat reasons why .size
+  allows zero even though that value really makes no sense -->
 
   <p>The <code title="dom-cva-willValidate">willValidate</code>, <code
   title="dom-cva-validity">validity</code>, and <code




More information about the Commit-Watchers mailing list