- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 04 Sep 2009 23:26:33 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv9022 Modified Files: Overview.html Log Message: Clarify a note on Option() constructor. (whatwg r3762) Index: Overview.html =================================================================== 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:26:42 UTC