- From: poot <cvsmail@w3.org>
- Date: Sat, 5 Sep 2009 08:26:51 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Clarify a note on Option() constructor. (whatwg r3762) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2931&r2=1.2932&f=h http://html5.org/tools/web-apps-tracker?from=3761&to=3762 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2931 retrieving revision 1.2932 diff -u -d -r1.2931 -r1.2932 --- Overview.html 4 Sep 2009 23:19:15 -0000 1.2931 +++ Overview.html 4 Sep 2009 23:26:29 -0000 1.2932 @@ -31456,11 +31456,13 @@ be set to true.</p> <p class="note">The <code title="dom-option-tvd"><a href="#dom-option-tvd">Option()</a></code> - constructor with two or more arguments overrides the initial state - of the <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> - state to always be false even if the third argument is true - (implying that a <code title="attr-option-selected"><a href="#attr-option-selected">selected</a></code> - attribute is to be set).</p> + constructor with three or fewer arguments overrides the initial + state of the <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> state to + always be false even if the third argument is true (implying that a + <code title="attr-option-selected"><a href="#attr-option-selected">selected</a></code> attribute is to + be set). The fourth argument can be used to explicitly set the + initial <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> state when + using the constructor.</p> <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
Received on Friday, 4 September 2009 23:27:27 UTC