Skip to content

Commit

Permalink
[e] (0) HTMLPropertyCollection -> HTMLPropertiesCollection for consis…
Browse files Browse the repository at this point in the history
…tency.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8049

git-svn-id: http://svn.whatwg.org/webapps@4333 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 25, 2009
1 parent f627884 commit c8a525b
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 56 deletions.
38 changes: 19 additions & 19 deletions complete.html
Expand Up @@ -268,7 +268,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
<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>
Expand Down Expand Up @@ -5630,7 +5630,7 @@ <h4 id=collections-0><span class=secno>2.7.2 </span>Collections</h4>
<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>

Expand Down Expand Up @@ -6135,17 +6135,17 @@ <h5 id=htmloptionscollection-0><span class=secno>2.7.2.4 </span>HTMLOptionsColle
</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>
<h5 id=htmlpropertiescollection-0><span class=secno>2.7.2.5 </span>HTMLPropertiesCollection</h5>

<p>The <code><a href=#htmlpropertycollection>HTMLPropertyCollection</a></code> interface represents a
<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.</p>

<pre class=idl>interface <dfn id=htmlpropertycollection>HTMLPropertyCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
<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&lt;any&gt; <dfn id=propertyvaluearray>PropertyValueArray</dfn>;
Expand All @@ -6167,14 +6167,14 @@ <h5 id=htmlpropertycollection-0><span class=secno>2.7.2.5 </span>HTMLPropertyCol
<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>
Expand All @@ -6194,17 +6194,17 @@ <h5 id=htmlpropertycollection-0><span class=secno>2.7.2.5 </span>HTMLPropertyCol
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
order</a>, but with duplicates removed, leaving only the first
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
Expand Down Expand Up @@ -7742,7 +7742,7 @@ <h4 id=elements-in-the-dom><span class=secno>3.2.2 </span>Elements in the DOM</h
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>
Expand Down Expand Up @@ -44725,7 +44725,7 @@ <h4 id=using-the-microdata-dom-api><span class=secno>5.1.6 </span>Using the micr

<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
Expand All @@ -44745,7 +44745,7 @@ <h4 id=using-the-microdata-dom-api><span class=secno>5.1.6 </span>Using the micr

</div>

<p>The <code><a href=#htmlpropertycollection>HTMLPropertyCollection</a></code> object, when indexed by
<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
Expand Down Expand Up @@ -44774,7 +44774,7 @@ <h4 id=using-the-microdata-dom-api><span class=secno>5.1.6 </span>Using the micr
</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.</p>

<div class=example>
Expand Down Expand Up @@ -45232,9 +45232,9 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>
<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>

Expand Down Expand Up @@ -45279,7 +45279,7 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>

<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
Expand Down

0 comments on commit c8a525b

Please sign in to comment.