- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 25 Oct 2009 06:07:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv506 Modified Files: Overview.html acknowledgements.html browsers.html comms.html dom.html editing.html embedded-content-0.html forms.html history.html index.html infrastructure.html interactive-elements.html introduction.html microdata.html named-character-references.html obsolete.html offline.html references.html semantics.html spec.html syntax.html tabular-data.html text-level-semantics.html the-canvas-element.html the-xhtml-syntax.html video.html Log Message: Make collections inherit from HTMLCollection (whatwg r4323) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -d -r1.463 -r1.464 --- infrastructure.html 25 Oct 2009 04:37:12 -0000 1.463 +++ infrastructure.html 25 Oct 2009 06:07:14 -0000 1.464 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -925,17 +925,16 @@ <a href="#collections" title="collections">collection</a> of elements just like <code><a href="#htmlcollection">HTMLCollection</a></code>, with the exception that its <code title="dom-HTMLAllCollection-namedItem"><a href="#dom-htmlallcollection-nameditem">namedItem()</a></code> method returns an <code><a href="#htmlcollection">HTMLCollection</a></code> object when there are - multiple matching elements.</p><pre class="idl">interface <dfn id="htmlallcollection">HTMLAllCollection</dfn> { - readonly attribute unsigned long <a href="#dom-htmlallcollection-length" title="dom-HTMLAllCollection-length">length</a>; - caller getter Element <a href="#dom-htmlallcollection-item" title="dom-HTMLAllCollection-item">item</a>(in unsigned long index); - caller getter object <a href="#dom-htmlallcollection-nameditem" title="dom-HTMLAllCollection-namedItem">namedItem</a>(in DOMString name); + multiple matching elements.</p><pre class="idl">interface <dfn id="htmlallcollection">HTMLAllCollection</dfn> : <a href="#htmlcollection">HTMLCollection</a> { + // inherits <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a> and <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>() + caller getter object <a href="#dom-htmlallcollection-nameditem" title="dom-HTMLAllCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() <a href="#htmlallcollection">HTMLAllCollection</a> <a href="#dom-htmlallcollection-tags" title="dom-HTMLAllCollection-tags">tags</a>(in DOMString tagName); -};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLAllCollection-length"><a href="#dom-htmlallcollection-length">length</a></code></dt> +};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-item"><a href="#dom-htmlallcollection-item">item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item"><a href="#dom-htmlcollection-item">item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -943,8 +942,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-item"><a href="#dom-htmlallcollection-item">namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-item"><a href="#dom-htmlallcollection-item">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-namedItem"><a href="#dom-htmlallcollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-namedItem"><a href="#dom-htmlallcollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -965,20 +964,19 @@ </dl><h5 id="htmlformcontrolscollection-0"><span class="secno">2.6.2.3 </span>HTMLFormControlsCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#htmlformcontrolscollection">HTMLFormControlsCollection</a></code> interface represents a <a href="#collections" title="collections">collection</a> of <a href="forms.html#category-listed" title="category-listed">listed</a> elements in <code><a href="forms.html#the-form-element">form</a></code> - and <code><a href="forms.html#the-fieldset-element">fieldset</a></code> elements.</p><pre class="idl">interface <dfn id="htmlformcontrolscollection">HTMLFormControlsCollection</dfn> { - readonly attribute unsigned long <a href="#dom-htmlformcontrolscollection-length" title="dom-HTMLFormControlsCollection-length">length</a>; - caller getter <a href="dom.html#htmlelement">HTMLElement</a> <a href="#dom-htmlformcontrolscollection-item" title="dom-HTMLFormControlsCollection-item">item</a>(in unsigned long index); - caller getter object <a href="#dom-htmlformcontrolscollection-nameditem" title="dom-HTMLFormControlsCollection-namedItem">namedItem</a>(in DOMString name); + and <code><a href="forms.html#the-fieldset-element">fieldset</a></code> elements.</p><pre class="idl">interface <dfn id="htmlformcontrolscollection">HTMLFormControlsCollection</dfn> : <a href="#htmlcollection">HTMLCollection</a> { + // inherits <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a> and <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>() + caller getter object <a href="#dom-htmlformcontrolscollection-nameditem" title="dom-HTMLFormControlsCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() }; interface <dfn id="radionodelist">RadioNodeList</dfn> : <span>NodeList</span> { attribute DOMString <a href="#dom-radionodelist-value" title="dom-RadioNodeList-value">value</a>; -};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-length"><a href="#dom-htmlformcontrolscollection-length">length</a></code></dt> +};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-item"><a href="#dom-htmlformcontrolscollection-item">item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item"><a href="#dom-htmlcollection-item">item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -986,8 +984,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-item"><a href="#dom-htmlformcontrolscollection-item">namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-item"><a href="#dom-htmlformcontrolscollection-item">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-namedItem"><a href="#dom-htmlformcontrolscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-namedItem"><a href="#dom-htmlformcontrolscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -997,24 +995,18 @@ </dd> <dt><var title="">radioNodeList</var> . <var title="">value</var> [ = <var title="">value</var> ]</dt> - <dd> - - <p>Returns the value of the first checked radio button represented - by the object.</p> - - <p>Can be set, to check the first radio button with the given - value represented by the object.</p> - + <p>Returns the value of the first checked radio button represented by the object.</p> + <p>Can be set, to check the first radio button with the given value represented by the object.</p> </dd> </dl><h5 id="htmloptionscollection-0"><span class="secno">2.6.2.4 </span>HTMLOptionsCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> interface represents a list of <code><a href="forms.html#the-option-element">option</a></code> elements. It is always rooted on a <code><a href="forms.html#the-select-element">select</a></code> element and has attributes and methods that - manipulate that element's descendants.</p><pre class="idl">interface <dfn id="htmloptionscollection">HTMLOptionsCollection</dfn> { - attribute unsigned long <a href="#dom-htmloptionscollection-length" title="dom-HTMLOptionsCollection-length">length</a>; - caller getter <a href="forms.html#htmloptionelement">HTMLOptionElement</a> <a href="#dom-htmloptionscollection-item" title="dom-HTMLOptionsCollection-item">item</a>(in unsigned long index); - caller getter object <a href="#dom-htmloptionscollection-nameditem" title="dom-HTMLOptionsCollection-namedItem">namedItem</a>(in DOMString name); + manipulate that element's descendants.</p><pre class="idl">interface <dfn id="htmloptionscollection">HTMLOptionsCollection</dfn> : <a href="#htmlcollection">HTMLCollection</a> { + // inherits <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>() + attribute unsigned long <a href="#dom-htmloptionscollection-length" title="dom-HTMLOptionsCollection-length">length</a>; // overrides inherited length + caller getter object <a href="#dom-htmloptionscollection-nameditem" title="dom-HTMLOptionsCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="dom.html#htmlelement">HTMLElement</a> element, in optional <a href="dom.html#htmlelement">HTMLElement</a> before); void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="dom.html#htmlelement">HTMLElement</a> element, in long before); void <a href="#dom-htmloptionscollection-remove" title="dom-HTMLOptionsCollection-remove">remove</a>(in long index); @@ -1025,7 +1017,7 @@ <p>When set to a greater number, adds new blank <code><a href="forms.html#the-option-element">option</a></code> elements to that container.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-item"><a href="#dom-htmloptionscollection-item">item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item"><a href="#dom-htmlcollection-item">item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -1033,8 +1025,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-item"><a href="#dom-htmloptionscollection-item">namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">nodeList</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-item"><a href="#dom-htmloptionscollection-item">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-namedItem"><a href="#dom-htmloptionscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">nodeList</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-namedItem"><a href="#dom-htmloptionscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -1062,28 +1054,22 @@ </dl><h5 id="htmlpropertycollection-0"><span class="secno">2.6.2.5 </span>HTMLPropertyCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> interface represents a <a href="#collections" title="collections">collection</a> of elements that add name-value pairs to a particular <a href="microdata.html#concept-item" title="concept-item">item</a> in the <a href="microdata.html#microdata">microdata</a> - model.</p><pre class="idl">interface <dfn id="htmlpropertycollection">HTMLPropertyCollection</dfn> { - readonly attribute unsigned long <a href="#dom-htmlpropertycollection-length" title="dom-HTMLPropertyCollection-length">length</a>; + model.</p><pre class="idl">interface <dfn id="htmlpropertycollection">HTMLPropertyCollection</dfn> : <a href="#htmlcollection">HTMLCollection</a> { + // inherits <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a> and <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>() + caller getter <a href="#propertynodelist">PropertyNodeList</a> <a href="#dom-htmlpropertycollection-nameditem" title="dom-HTMLPropertyCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() readonly attribute <span>DOMStringList</span> <a href="#dom-htmlpropertycollection-names" title="dom-HTMLPropertyCollection-names">names</a>; - caller getter <a href="dom.html#htmlelement">HTMLElement</a> <a href="#dom-htmlpropertycollection-item" title="dom-HTMLPropertyCollection-item">item</a>(in unsigned long index); - caller getter <a href="#propertynodelist">PropertyNodeList</a> <a href="#dom-htmlpropertycollection-nameditem" title="dom-HTMLPropertyCollection-namedItem">namedItem</a>(in DOMString name); }; typedef sequence<any> <dfn id="propertyvaluearray">PropertyValueArray</dfn>; interface <dfn id="propertynodelist">PropertyNodeList</dfn> : <span>NodeList</span> { readonly attribute <a href="#propertyvaluearray">PropertyValueArray</a> <a href="#dom-propertynodelist-values" title="dom-PropertyNodeList-values">values</a>; -};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLPropertyCollection-length"><a href="#dom-htmlpropertycollection-length">length</a></code></dt> +};</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">collection</var> . <code title="dom-HTMLPropertyCollection-names"><a href="#dom-htmlpropertycollection-names">names</a></code></dt> - <dd> - <p>Returns a <code>DOMStringList</code> with the <a href="microdata.html#property-names">property names</a> of the elements in the collection.</p> - </dd> - - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLPropertyCollection-item"><a href="#dom-htmlpropertycollection-item">item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item"><a href="#dom-htmlcollection-item">item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -1091,13 +1077,18 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertyCollection-item"><a href="#dom-htmlpropertycollection-item">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertyCollection-namedItem"><a href="#dom-htmlpropertycollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> <p>Returns a <code><a href="#propertynodelist">PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p> </dd> + <dt><var title="">collection</var> . <code title="dom-HTMLPropertyCollection-names"><a href="#dom-htmlpropertycollection-names">names</a></code></dt> + <dd> + <p>Returns a <code>DOMStringList</code> with the <a href="microdata.html#property-names">property names</a> of the elements in the collection.</p> + </dd> + <dt><var title="">propertyNodeList</var> . <code title="dom-PropertyNodeList-values"><a href="#dom-propertynodelist-values">values</a></code></dt> <dd> <p>Returns an array of the various values that the relevant elements have.</p> Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.461 retrieving revision 1.462 diff -u -d -r1.461 -r1.462 --- text-level-semantics.html 25 Oct 2009 04:37:13 -0000 1.461 +++ text-level-semantics.html 25 Oct 2009 06:07:15 -0000 1.462 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -d -r1.463 -r1.464 --- history.html 25 Oct 2009 04:37:12 -0000 1.463 +++ history.html 25 Oct 2009 06:07:14 -0000 1.464 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- tabular-data.html 25 Oct 2009 04:37:13 -0000 1.462 +++ tabular-data.html 25 Oct 2009 06:07:15 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- microdata.html 25 Oct 2009 04:37:12 -0000 1.462 +++ microdata.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- Overview.html 25 Oct 2009 04:37:12 -0000 1.464 +++ Overview.html 25 Oct 2009 06:07:13 -0000 1.465 @@ -241,7 +241,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.3458. +This is revision 1.3459. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- embedded-content-0.html 25 Oct 2009 04:37:12 -0000 1.462 +++ embedded-content-0.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.465 retrieving revision 1.466 diff -u -d -r1.465 -r1.466 --- dom.html 25 Oct 2009 04:37:12 -0000 1.465 +++ dom.html 25 Oct 2009 06:07:14 -0000 1.466 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="Overview.html#contents">Table of contents</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- acknowledgements.html 25 Oct 2009 04:37:12 -0000 1.462 +++ acknowledgements.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -218,7 +218,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- the-canvas-element.html 25 Oct 2009 04:37:13 -0000 1.464 +++ the-canvas-element.html 25 Oct 2009 06:07:15 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- forms.html 25 Oct 2009 04:37:12 -0000 1.464 +++ forms.html 25 Oct 2009 06:07:14 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="Overview.html#contents">Table of contents</a> – Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- interactive-elements.html 25 Oct 2009 04:37:12 -0000 1.462 +++ interactive-elements.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – <a href="Overview.html#contents">Table of contents</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- editing.html 25 Oct 2009 04:37:12 -0000 1.464 +++ editing.html 25 Oct 2009 06:07:14 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- video.html 25 Oct 2009 04:37:13 -0000 1.464 +++ video.html 25 Oct 2009 06:07:15 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="Overview.html#contents">Table of contents</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.465 retrieving revision 1.466 diff -u -d -r1.465 -r1.466 --- browsers.html 25 Oct 2009 04:37:12 -0000 1.465 +++ browsers.html 25 Oct 2009 06:07:14 -0000 1.466 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.461 retrieving revision 1.462 diff -u -d -r1.461 -r1.462 --- the-xhtml-syntax.html 25 Oct 2009 04:37:13 -0000 1.461 +++ the-xhtml-syntax.html 25 Oct 2009 06:07:15 -0000 1.462 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – <a href="Overview.html#contents">Table of contents</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- offline.html 25 Oct 2009 04:37:13 -0000 1.462 +++ offline.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – <a href="Overview.html#contents">Table of contents</a> – Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.465 retrieving revision 1.466 diff -u -d -r1.465 -r1.466 --- syntax.html 25 Oct 2009 04:37:13 -0000 1.465 +++ syntax.html 25 Oct 2009 06:07:15 -0000 1.466 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="comms.html">← 8 Communication</a> – <a href="Overview.html#contents">Table of contents</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -d -r1.463 -r1.464 --- obsolete.html 25 Oct 2009 04:37:12 -0000 1.463 +++ obsolete.html 25 Oct 2009 06:07:14 -0000 1.464 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -d -r1.463 -r1.464 --- named-character-references.html 25 Oct 2009 04:37:12 -0000 1.463 +++ named-character-references.html 25 Oct 2009 06:07:14 -0000 1.464 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- references.html 25 Oct 2009 04:37:13 -0000 1.462 +++ references.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="index.html">← Index</a> – <a href="Overview.html#contents">Table of contents</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- semantics.html 25 Oct 2009 04:37:13 -0000 1.464 +++ semantics.html 25 Oct 2009 06:07:14 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.462 retrieving revision 1.463 diff -u -d -r1.462 -r1.463 --- index.html 25 Oct 2009 04:37:12 -0000 1.462 +++ index.html 25 Oct 2009 06:07:14 -0000 1.463 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="iana.html">← 12 IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.464 retrieving revision 1.465 diff -u -d -r1.464 -r1.465 --- comms.html 25 Oct 2009 04:37:12 -0000 1.464 +++ comms.html 25 Oct 2009 06:07:14 -0000 1.465 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.465 retrieving revision 1.466 diff -u -d -r1.465 -r1.466 --- spec.html 25 Oct 2009 04:37:13 -0000 1.465 +++ spec.html 25 Oct 2009 06:07:14 -0000 1.466 @@ -239,7 +239,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.3458. +This is revision 1.3459. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -1962,17 +1962,16 @@ <a href=#collections title=collections>collection</a> of elements just like <code><a href=#htmlcollection>HTMLCollection</a></code>, with the exception that its <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem()</a></code> method returns an <code><a href=#htmlcollection>HTMLCollection</a></code> object when there are - multiple matching elements.</p><pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> { - readonly attribute unsigned long <a href=#dom-htmlallcollection-length title=dom-HTMLAllCollection-length>length</a>; - caller getter Element <a href=#dom-htmlallcollection-item title=dom-HTMLAllCollection-item>item</a>(in unsigned long index); - caller getter object <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(in DOMString name); + multiple matching elements.</p><pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> { + // inherits <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a> and <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>() + caller getter object <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(in DOMString name); // overrides inherited namedItem() <a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(in DOMString tagName); -};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLAllCollection-length><a href=#dom-htmlallcollection-length>length</a></code></dt> +};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length><a href=#dom-htmlcollection-length>length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-item><a href=#dom-htmlallcollection-item>item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item><a href=#dom-htmlcollection-item>item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -1980,8 +1979,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-item><a href=#dom-htmlallcollection-item>namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-item><a href=#dom-htmlallcollection-item>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -2002,20 +2001,19 @@ </dl><h5 id=htmlformcontrolscollection-0><span class=secno>2.6.2.3 </span>HTMLFormControlsCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#htmlformcontrolscollection>HTMLFormControlsCollection</a></code> interface represents a <a href=#collections title=collections>collection</a> of <a href=#category-listed title=category-listed>listed</a> elements in <code><a href=#the-form-element>form</a></code> - and <code><a href=#the-fieldset-element>fieldset</a></code> elements.</p><pre class=idl>interface <dfn id=htmlformcontrolscollection>HTMLFormControlsCollection</dfn> { - readonly attribute unsigned long <a href=#dom-htmlformcontrolscollection-length title=dom-HTMLFormControlsCollection-length>length</a>; - caller getter <a href=#htmlelement>HTMLElement</a> <a href=#dom-htmlformcontrolscollection-item title=dom-HTMLFormControlsCollection-item>item</a>(in unsigned long index); - caller getter object <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(in DOMString name); + and <code><a href=#the-fieldset-element>fieldset</a></code> elements.</p><pre class=idl>interface <dfn id=htmlformcontrolscollection>HTMLFormControlsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> { + // inherits <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a> and <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>() + caller getter object <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(in DOMString name); // overrides inherited namedItem() }; interface <dfn id=radionodelist>RadioNodeList</dfn> : <span>NodeList</span> { attribute DOMString <a href=#dom-radionodelist-value title=dom-RadioNodeList-value>value</a>; -};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-length><a href=#dom-htmlformcontrolscollection-length>length</a></code></dt> +};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length><a href=#dom-htmlcollection-length>length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-item><a href=#dom-htmlformcontrolscollection-item>item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item><a href=#dom-htmlcollection-item>item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -2023,8 +2021,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-item><a href=#dom-htmlformcontrolscollection-item>namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-item><a href=#dom-htmlformcontrolscollection-item>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -2034,24 +2032,18 @@ </dd> <dt><var title="">radioNodeList</var> . <var title="">value</var> [ = <var title="">value</var> ]</dt> - <dd> - - <p>Returns the value of the first checked radio button represented - by the object.</p> - - <p>Can be set, to check the first radio button with the given - value represented by the object.</p> - + <p>Returns the value of the first checked radio button represented by the object.</p> + <p>Can be set, to check the first radio button with the given value represented by the object.</p> </dd> </dl><h5 id=htmloptionscollection-0><span class=secno>2.6.2.4 </span>HTMLOptionsCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> interface represents a list of <code><a href=#the-option-element>option</a></code> elements. It is always rooted on a <code><a href=#the-select-element>select</a></code> element and has attributes and methods that - manipulate that element's descendants.</p><pre class=idl>interface <dfn id=htmloptionscollection>HTMLOptionsCollection</dfn> { - attribute unsigned long <a href=#dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length>length</a>; - caller getter <a href=#htmloptionelement>HTMLOptionElement</a> <a href=#dom-htmloptionscollection-item title=dom-HTMLOptionsCollection-item>item</a>(in unsigned long index); - caller getter object <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(in DOMString name); + manipulate that element's descendants.</p><pre class=idl>interface <dfn id=htmloptionscollection>HTMLOptionsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> { + // inherits <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>() + attribute unsigned long <a href=#dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length>length</a>; // overrides inherited length + caller getter object <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(in DOMString name); // overrides inherited namedItem() void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in optional <a href=#htmlelement>HTMLElement</a> before); void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in long before); void <a href=#dom-htmloptionscollection-remove title=dom-HTMLOptionsCollection-remove>remove</a>(in long index); @@ -2062,7 +2054,7 @@ <p>When set to a greater number, adds new blank <code><a href=#the-option-element>option</a></code> elements to that container.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-item><a href=#dom-htmloptionscollection-item>item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item><a href=#dom-htmlcollection-item>item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -2070,8 +2062,8 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-item><a href=#dom-htmloptionscollection-item>namedItem</a></code>(<var title="">name</var>)</dt> - <dt><var title="">nodeList</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-item><a href=#dom-htmloptionscollection-item>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">nodeList</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -2099,28 +2091,22 @@ </dl><h5 id=htmlpropertycollection-0><span class=secno>2.6.2.5 </span>HTMLPropertyCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#htmlpropertycollection>HTMLPropertyCollection</a></code> interface represents a <a href=#collections title=collections>collection</a> of elements that add name-value pairs to a particular <a href=#concept-item title=concept-item>item</a> in the <a href=#microdata>microdata</a> - model.</p><pre class=idl>interface <dfn id=htmlpropertycollection>HTMLPropertyCollection</dfn> { - readonly attribute unsigned long <a href=#dom-htmlpropertycollection-length title=dom-HTMLPropertyCollection-length>length</a>; + model.</p><pre class=idl>interface <dfn id=htmlpropertycollection>HTMLPropertyCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> { + // inherits <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a> and <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>() + caller getter <a href=#propertynodelist>PropertyNodeList</a> <a href=#dom-htmlpropertycollection-nameditem title=dom-HTMLPropertyCollection-namedItem>namedItem</a>(in DOMString name); // overrides inherited namedItem() readonly attribute <span>DOMStringList</span> <a href=#dom-htmlpropertycollection-names title=dom-HTMLPropertyCollection-names>names</a>; - caller getter <a href=#htmlelement>HTMLElement</a> <a href=#dom-htmlpropertycollection-item title=dom-HTMLPropertyCollection-item>item</a>(in unsigned long index); - caller getter <a href=#propertynodelist>PropertyNodeList</a> <a href=#dom-htmlpropertycollection-nameditem title=dom-HTMLPropertyCollection-namedItem>namedItem</a>(in DOMString name); }; typedef sequence<any> <dfn id=propertyvaluearray>PropertyValueArray</dfn>; interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <span>NodeList</span> { readonly attribute <a href=#propertyvaluearray>PropertyValueArray</a> <a href=#dom-propertynodelist-values title=dom-PropertyNodeList-values>values</a>; -};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLPropertyCollection-length><a href=#dom-htmlpropertycollection-length>length</a></code></dt> +};</pre><dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length><a href=#dom-htmlcollection-length>length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> </dd> - <dt><var title="">collection</var> . <code title=dom-HTMLPropertyCollection-names><a href=#dom-htmlpropertycollection-names>names</a></code></dt> - <dd> - <p>Returns a <code>DOMStringList</code> with the <a href=#property-names>property names</a> of the elements in the collection.</p> - </dd> - - <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLPropertyCollection-item><a href=#dom-htmlpropertycollection-item>item</a></code>(<var title="">index</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item><a href=#dom-htmlcollection-item>item</a></code>(<var title="">index</var>)</dt> <dt><var title="">collection</var>[<var title="">index</var>]</dt> <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> @@ -2128,13 +2114,18 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLPropertyCollection-item><a href=#dom-htmlpropertycollection-item>namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLPropertyCollection-namedItem><a href=#dom-htmlpropertycollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> <p>Returns a <code><a href=#propertynodelist>PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p> </dd> + <dt><var title="">collection</var> . <code title=dom-HTMLPropertyCollection-names><a href=#dom-htmlpropertycollection-names>names</a></code></dt> + <dd> + <p>Returns a <code>DOMStringList</code> with the <a href=#property-names>property names</a> of the elements in the collection.</p> + </dd> + <dt><var title="">propertyNodeList</var> . <code title=dom-PropertyNodeList-values><a href=#dom-propertynodelist-values>values</a></code></dt> <dd> <p>Returns an array of the various values that the relevant elements have.</p> Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.463 retrieving revision 1.464 diff -u -d -r1.463 -r1.464 --- introduction.html 25 Oct 2009 04:37:12 -0000 1.463 +++ introduction.html 25 Oct 2009 06:07:14 -0000 1.464 @@ -218,7 +218,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3458.</p> +<p>This is revision 1.3459.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a>
Received on Sunday, 25 October 2009 06:07:23 UTC