- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 08 Oct 2008 00:49:45 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv17981 Modified Files: Overview.html Log Message: WF2: option.form (whatwg r2300) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1472 retrieving revision 1.1473 diff -u -d -r1.1472 -r1.1473 --- Overview.html 8 Oct 2008 00:29:19 -0000 1.1472 +++ Overview.html 8 Oct 2008 00:49:42 -0000 1.1473 @@ -21392,7 +21392,7 @@ <a href=#dom-option-tvd title=dom-option-tvd>Constructor</a>(in DOMString text, in DOMString value, in boolean defaultSelected)] interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmlelement>HTMLElement</a> { attribute boolean <a href=#dom-option-disabled title=dom-option-disabled>disabled</a>; - readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <span title=dom-option-form>form</span>; + readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-option-form title=dom-option-form>form</a>; attribute DOMString <a href=#dom-option-label title=dom-option-label>label</a>; attribute boolean <a href=#dom-option-defaultselected title=dom-option-defaultSelected>defaultSelected</a>; attribute boolean <a href=#dom-option-selected title=dom-option-selected>selected</a>; @@ -21438,7 +21438,15 @@ false otherwise.<p>The <dfn id=dom-option-index title=dom-option-index><code>index</code></dfn> DOM attribute must return the element's <a href=#concept-option-index title=concept-option-index>index</a>.<p>The <dfn id=dom-option-text title=dom-option-text><code>text</code></dfn> DOM attribute must return the same value as the <code><a href=#textcontent>textContent</a></code> - DOM attribute on the element.<p>Four constructors are provided for creating + DOM attribute on the element.<p>The <dfn id=dom-option-form title=dom-option-form><code>form</code></dfn> DOM + attribute's behavior depends on whether the <code><a href=#the-option-element>option</a></code> + element is in a <code><a href=#the-select-element>select</a></code> element or not. If the + <code><a href=#the-option-element>option</a></code> has a <code><a href=#the-select-element>select</a></code> element as its parent, + or has a <code><a href=#the-colgroup-element>colgroup</a></code> element as its parent and that + <code><a href=#the-colgroup-element>colgroup</a></code> element has a <code><a href=#the-select-element>select</a></code> element as + its parent, then the <code title=dom-option-form><a href=#dom-option-form>form</a></code> DOM + attribute must return the same value as the <code title=dom-select-form>form</code> DOM attribute on that + <code><a href=#the-select-element>select</a></code> element. Otherwise, it must return null.<p>Four constructors are provided for creating <code><a href=#htmloptionelement>HTMLOptionElement</a></code> objects (in addition to the factory methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-option title=dom-option><code>Option()</code></dfn>, <dfn id=dom-option-t title=dom-option-t><code>Option(<var title="">text</var>)</code></dfn>, <dfn id=dom-option-tv title=dom-option-tv><code>Option(<var title="">text</var>, <var title="">value</var>)</code></dfn>, and <dfn id=dom-option-tvd title=dom-option-tvd><code>Option(<var title="">text</var>, <var title="">value</var>, <var title="">defaultSelected</var>)</code></dfn>. When invoked as constructors, these must return a new <code><a href=#htmloptionelement>HTMLOptionElement</a></code>
Received on Wednesday, 8 October 2008 00:50:19 UTC