Skip to content

Commit

Permalink
[ac] (2) Make <select><option selected><option selected> non-conformi…
Browse files Browse the repository at this point in the history
…ng due to too many 'selected's.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9473

git-svn-id: http://svn.whatwg.org/webapps@5023 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent ff39585 commit 3084aea
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions complete.html
Expand Up @@ -39593,6 +39593,15 @@ <h4 id=the-option-element><span class=secno>4.10.12 </span>The <dfn><code>option
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
Expand Down
9 changes: 9 additions & 0 deletions index
Expand Up @@ -39494,6 +39494,15 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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
Expand Down
10 changes: 10 additions & 0 deletions source
Expand Up @@ -44010,6 +44010,16 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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
Expand Down

0 comments on commit 3084aea

Please sign in to comment.