[html5] r5023 - [ac] (2) Make <select><option selected><option selected> non-conforming due to t [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 13 01:15:31 PDT 2010


Author: ianh
Date: 2010-04-13 01:15:29 -0700 (Tue, 13 Apr 2010)
New Revision: 5023

Modified:
   complete.html
   index
   source
Log:
[ac] (2) Make <select><option selected><option selected> non-conforming due to too many 'selected's.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9473

Modified: complete.html
===================================================================
--- complete.html	2010-04-13 07:48:23 UTC (rev 5022)
+++ complete.html	2010-04-13 08:15:29 UTC (rev 5023)
@@ -39593,6 +39593,15 @@
   initial <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> state when
   using the constructor.</p>
 
+  </div>
+
+  <p>A <code><a href=#the-select-element>select</a></code> element whose <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is not
+  specified must not have more than one descendant <code><a href=#the-option-element>option</a></code>
+  element with its <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code>
+  attribute set.</p>
+
+  <div class=impl>
+
   <p>An <code><a href=#the-option-element>option</a></code> element's <dfn id=concept-option-index title=concept-option-index>index</dfn> is the number of
   <code><a href=#the-option-element>option</a></code> element that are in the same <a href=#concept-select-option-list title=concept-select-option-list>list of options</a> but that
   come before it in <a href=#tree-order>tree order</a>. If the

Modified: index
===================================================================
--- index	2010-04-13 07:48:23 UTC (rev 5022)
+++ index	2010-04-13 08:15:29 UTC (rev 5023)
@@ -39494,6 +39494,15 @@
   initial <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> state when
   using the constructor.</p>
 
+  </div>
+
+  <p>A <code><a href=#the-select-element>select</a></code> element whose <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute is not
+  specified must not have more than one descendant <code><a href=#the-option-element>option</a></code>
+  element with its <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code>
+  attribute set.</p>
+
+  <div class=impl>
+
   <p>An <code><a href=#the-option-element>option</a></code> element's <dfn id=concept-option-index title=concept-option-index>index</dfn> is the number of
   <code><a href=#the-option-element>option</a></code> element that are in the same <a href=#concept-select-option-list title=concept-select-option-list>list of options</a> but that
   come before it in <a href=#tree-order>tree order</a>. If the

Modified: source
===================================================================
--- source	2010-04-13 07:48:23 UTC (rev 5022)
+++ source	2010-04-13 08:15:29 UTC (rev 5023)
@@ -44010,6 +44010,16 @@
   title="concept-option-selectedness">selectedness</span> state when
   using the constructor.</p>
 
+  </div>
+
+  <p>A <code>select</code> element whose <code
+  title="attr-select-multiple">multiple</code> attribute is not
+  specified must not have more than one descendant <code>option</code>
+  element with its <code title="attr-option-selected">selected</code>
+  attribute set.</p>
+
+  <div class="impl">
+
   <p>An <code>option</code> element's <dfn
   title="concept-option-index">index</dfn> is the number of
   <code>option</code> element that are in the same <span




More information about the Commit-Watchers mailing list