- From: poot <cvsmail@w3.org>
- Date: Sun, 25 Oct 2009 18:08:01 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: HTMLPropertyCollection -> HTMLPropertiesCollection for consistency. (whatwg r4333) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3468&r2=1.3469&f=h http://html5.org/tools/web-apps-tracker?from=4332&to=4333 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3468 retrieving revision 1.3469 diff -u -d -r1.3468 -r1.3469 --- Overview.html 25 Oct 2009 09:06:34 -0000 1.3468 +++ Overview.html 25 Oct 2009 09:07:47 -0000 1.3469 @@ -412,7 +412,7 @@ <li><a href="#htmlallcollection-0"><span class="secno">2.7.2.2 </span>HTMLAllCollection</a></li> <li><a href="#htmlformcontrolscollection-0"><span class="secno">2.7.2.3 </span>HTMLFormControlsCollection</a></li> <li><a href="#htmloptionscollection-0"><span class="secno">2.7.2.4 </span>HTMLOptionsCollection</a></li> - <li><a href="#htmlpropertycollection-0"><span class="secno">2.7.2.5 </span>HTMLPropertyCollection</a></ol></li> + <li><a href="#htmlpropertiescollection-0"><span class="secno">2.7.2.5 </span>HTMLPropertiesCollection</a></ol></li> <li><a href="#domtokenlist-0"><span class="secno">2.7.3 </span>DOMTokenList</a></li> <li><a href="#domsettabletokenlist-0"><span class="secno">2.7.4 </span>DOMSettableTokenList</a></li> <li><a href="#safe-passing-of-structured-data"><span class="secno">2.7.5 </span>Safe passing of structured data</a></li> @@ -4946,7 +4946,7 @@ </div><h4 id="collections-0"><span class="secno">2.7.2 </span>Collections</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#htmlcollection">HTMLCollection</a></code>, <code><a href="#htmlallcollection">HTMLAllCollection</a></code>, <code><a href="#htmlformcontrolscollection">HTMLFormControlsCollection</a></code>, <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code>, and - <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> interfaces represent various + <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> interfaces represent various lists of DOM nodes. Collectively, objects implementing these interfaces are called <dfn id="collections">collections</dfn>.<p>When a <a href="#collections" title="collections">collection</a> is created, a filter and a root are associated with the collection.<p class="example">For example, when the <code><a href="#htmlcollection">HTMLCollection</a></code> @@ -5404,13 +5404,13 @@ <li><p>Remove <var title="">element</var> from its parent node.</li> - </ol><!-- see also http://ln.hixie.ch/?start=1161042744&count=1 --></div><h5 id="htmlpropertycollection-0"><span class="secno">2.7.2.5 </span>HTMLPropertyCollection</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> interface represents a + </ol><!-- see also http://ln.hixie.ch/?start=1161042744&count=1 --></div><h5 id="htmlpropertiescollection-0"><span class="secno">2.7.2.5 </span>HTMLPropertiesCollection</h5><p>The <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</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.<pre class="idl">interface <dfn id="htmlpropertycollection">HTMLPropertyCollection</dfn> : <a href="#htmlcollection">HTMLCollection</a> { + model.<pre class="idl">interface <dfn id="htmlpropertiescollection">HTMLPropertiesCollection</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="#propertynodelist">PropertyNodeList</a> <a href="#dom-htmlpropertiescollection-nameditem" title="dom-HTMLPropertiesCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() + readonly attribute <span>DOMStringList</span> <a href="#dom-htmlpropertiescollection-names" title="dom-HTMLPropertiesCollection-names">names</a>; }; typedef sequence<any> <dfn id="propertyvaluearray">PropertyValueArray</dfn>; @@ -5430,14 +5430,14 @@ <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-namedItem"><a href="#dom-htmlpropertycollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-namedItem"><a href="#dom-htmlpropertiescollection-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> + <dt><var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-names"><a href="#dom-htmlpropertiescollection-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> @@ -5457,7 +5457,7 @@ of the <a href="#property-names">property names</a> of all the elements <a href="#represented-by-the-collection">represented by the collection</a>.</p> - <p>The <dfn id="dom-htmlpropertycollection-names" title="dom-HTMLPropertyCollection-names"><code>names</code></dfn> + <p>The <dfn id="dom-htmlpropertiescollection-names" title="dom-HTMLPropertiesCollection-names"><code>names</code></dfn> attribute must return a live <code>DOMStringList</code> object giving the <a href="#property-names">property names</a> of all the elements <a href="#represented-by-the-collection">represented by the collection</a>, listed in <a href="#tree-order">tree @@ -5465,9 +5465,9 @@ occurrence of each name. The same object must be returned each time.</p> - <p>The <dfn id="dom-htmlpropertycollection-nameditem" title="dom-HTMLPropertyCollection-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method must return a + <p>The <dfn id="dom-htmlpropertiescollection-nameditem" title="dom-HTMLPropertiesCollection-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method must return a <code><a href="#propertynodelist">PropertyNodeList</a></code> object representing a live view of the - <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> object, further filtered so that + <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> object, further filtered so that the only nodes in the <code><a href="#propertynodelist">PropertyNodeList</a></code> object are those that have a <a href="#property-names" title="property names">property name</a> equal to <var title="">name</var>. The nodes in the @@ -6834,7 +6834,7 @@ attribute DOMString <a href="#dom-itemid" title="dom-itemId">itemId</a>; attribute DOMString <a href="#dom-itemref" title="dom-itemRef">itemRef</a>; [PutForwards=<a href="#dom-domsettabletokenlist-value" title="dom-DOMSettableTokenList-value">value</a>] readonly attribute <a href="#domsettabletokenlist">DOMSettableTokenList</a> <a href="#dom-itemprop" title="dom-itemProp">itemProp</a>; - readonly attribute <a href="#htmlpropertycollection">HTMLPropertyCollection</a> <a href="#dom-properties" title="dom-properties">properties</a>; + readonly attribute <a href="#htmlpropertiescollection">HTMLPropertiesCollection</a> <a href="#dom-properties" title="dom-properties">properties</a>; attribute any <a href="#dom-itemvalue" title="dom-itemValue">itemValue</a>; // <a href="#editing">user interaction</a> @@ -39833,7 +39833,7 @@ </div><p>Once an element representing an <a href="#concept-item" title="concept-item">item</a> has been obtained, its properties can be extracted using the <code title="dom-properties"><a href="#dom-properties">properties</a></code> IDL attribute. This - attribute returns an <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code>, which can + attribute returns an <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code>, which can be enumerated to go through each element that adds one or more properties to the item. It can also be indexed by name, which will return an object with a list of the elements that add properties @@ -39847,7 +39847,7 @@ <pre>var user = document.getItems('http://example.net/user')[0]; alert('Hello ' + user.properties['name'][0].content + '!');</pre> - </div><p>The <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> object, when indexed by + </div><p>The <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> object, when indexed by name in this way, actually returns a <code><a href="#propertynodelist">PropertyNodeList</a></code> object with all the matching properties. The <code><a href="#propertynodelist">PropertyNodeList</a></code> object can be used to obtained all the @@ -39872,7 +39872,7 @@ }</pre> </div><p>It's also possible to get a list of all the <a href="#property-names">property - names</a> using the object's <code title="dom-HTMLPropertyCollection-names"><a href="#dom-htmlpropertycollection-names">names</a></code> IDL + names</a> using the object's <code title="dom-HTMLPropertiesCollection-names"><a href="#dom-htmlpropertiescollection-names">names</a></code> IDL attribute.<div class="example"> <p>This example creates a big list with a nested list for each item @@ -40229,9 +40229,9 @@ <dd> <p>If the element has an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute, returns an - <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> object with all the element's + <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> object with all the element's properties. Otherwise, an empty - <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> object.</p> + <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> object.</p> </dd> @@ -40276,7 +40276,7 @@ <p>The <dfn id="dom-properties" title="dom-properties"><code>properties</code></dfn> IDL attribute on <a href="#html-elements">HTML elements</a> must return an - <code><a href="#htmlpropertycollection">HTMLPropertyCollection</a></code> rooted at the + <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> rooted at the <code>Document</code> node, whose filter matches only elements that have <a href="#property-names">property names</a> and are <a href="#the-properties-of-an-item" title="the properties of an item">the properties of the item</a> created by the element
Received on Sunday, 25 October 2009 09:08:33 UTC