Short URL: http://html5.org/r/4333
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 4333 | 8049 | HTMLPropertyCollection -> HTMLPropertiesCollection for consistency. | 2009-10-25 09:21 |
Index: source
===================================================================
--- source (revision 4332)
+++ source (revision 4333)
@@ -5155,7 +5155,7 @@
<p>The <code>HTMLCollection</code>, <code>HTMLAllCollection</code>,
<code>HTMLFormControlsCollection</code>,
<code>HTMLOptionsCollection</code>, and
- <code>HTMLPropertyCollection</code> interfaces represent various
+ <code>HTMLPropertiesCollection</code> interfaces represent various
lists of DOM nodes. Collectively, objects implementing these
interfaces are called <dfn>collections</dfn>.</p>
@@ -5772,18 +5772,18 @@
</div>
- <h5>HTMLPropertyCollection</h5>
+ <h5>HTMLPropertiesCollection</h5>
- <p>The <code>HTMLPropertyCollection</code> interface represents a
+ <p>The <code>HTMLPropertiesCollection</code> interface represents a
<span title="collections">collection</span> of elements that add
name-value pairs to a particular <span
title="concept-item">item</span> in the <span>microdata</span>
model.</p>
- <pre class="idl">interface <dfn>HTMLPropertyCollection</dfn> : <span>HTMLCollection</span> {
+ <pre class="idl">interface <dfn>HTMLPropertiesCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>()
- caller getter <span>PropertyNodeList</span> <span title="dom-HTMLPropertyCollection-namedItem">namedItem</span>(in DOMString name); // overrides inherited namedItem()
- readonly attribute <span>DOMStringList</span> <span title="dom-HTMLPropertyCollection-names">names</span>;
+ caller getter <span>PropertyNodeList</span> <span title="dom-HTMLPropertiesCollection-namedItem">namedItem</span>(in DOMString name); // overrides inherited namedItem()
+ readonly attribute <span>DOMStringList</span> <span title="dom-HTMLPropertiesCollection-names">names</span>;
};
typedef sequence<any> <dfn>PropertyValueArray</dfn>;
@@ -5807,14 +5807,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">namedItem</code>(<var title="">name</var>)</dt>
+ <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-namedItem">namedItem</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>PropertyNodeList</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">names</code></dt>
+ <dt><var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-names">names</code></dt>
<dd>
<p>Returns a <code>DOMStringList</code> with the <span>property names</span> of the elements in the collection.</p>
</dd>
@@ -5837,7 +5837,7 @@
<span>represented by the collection</span>.</p>
<p>The <dfn
- title="dom-HTMLPropertyCollection-names"><code>names</code></dfn>
+ title="dom-HTMLPropertiesCollection-names"><code>names</code></dfn>
attribute must return a live <code>DOMStringList</code> object
giving the <span>property names</span> of all the elements
<span>represented by the collection</span>, listed in <span>tree
@@ -5846,10 +5846,10 @@
time.</p>
<p>The <dfn
- title="dom-HTMLPropertyCollection-namedItem"><code>namedItem(<var
+ title="dom-HTMLPropertiesCollection-namedItem"><code>namedItem(<var
title="">name</var>)</code></dfn> method must return a
<code>PropertyNodeList</code> object representing a live view of the
- <code>HTMLPropertyCollection</code> object, further filtered so that
+ <code>HTMLPropertiesCollection</code> object, further filtered so that
the only nodes in the <code>PropertyNodeList</code> object are those
that have a <span title="property names">property name</span> equal
to <var title="">name</var>. The nodes in the
@@ -7629,7 +7629,7 @@
attribute DOMString <span title="dom-itemId">itemId</span>;
attribute DOMString <span title="dom-itemRef">itemRef</span>;
[PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemProp">itemProp</span>;
- readonly attribute <span>HTMLPropertyCollection</span> <span title="dom-properties">properties</span>;
+ readonly attribute <span>HTMLPropertiesCollection</span> <span title="dom-properties">properties</span>;
attribute any <span title="dom-itemValue">itemValue</span>;
// <span>user interaction</span>
@@ -49729,7 +49729,7 @@
title="concept-item">item</span> has been obtained, its properties
can be extracted using the <code
title="dom-properties">properties</code> IDL attribute. This
- attribute returns an <code>HTMLPropertyCollection</code>, which can
+ attribute returns an <code>HTMLPropertiesCollection</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
@@ -49750,7 +49750,7 @@
</div>
- <p>The <code>HTMLPropertyCollection</code> object, when indexed by
+ <p>The <code>HTMLPropertiesCollection</code> object, when indexed by
name in this way, actually returns a <code>PropertyNodeList</code>
object with all the matching properties. The
<code>PropertyNodeList</code> object can be used to obtained all the
@@ -49781,7 +49781,7 @@
<p>It's also possible to get a list of all the <span>property
names</span> using the object's <code
- title="dom-HTMLPropertyCollection-names">names</code> IDL
+ title="dom-HTMLPropertiesCollection-names">names</code> IDL
attribute.</p>
<div class="example">
@@ -50333,9 +50333,9 @@
<p>If the element has an <code
title="attr-itemscope">itemscope</code> attribute, returns an
- <code>HTMLPropertyCollection</code> object with all the element's
+ <code>HTMLPropertiesCollection</code> object with all the element's
properties. Otherwise, an empty
- <code>HTMLPropertyCollection</code> object.</p>
+ <code>HTMLPropertiesCollection</code> object.</p>
</dd>
@@ -50393,7 +50393,7 @@
<p>The <dfn title="dom-properties"><code>properties</code></dfn> IDL
attribute on <span>HTML elements</span> must return an
- <code>HTMLPropertyCollection</code> rooted at the
+ <code>HTMLPropertiesCollection</code> rooted at the
<code>Document</code> node, whose filter matches only elements that
have <span>property names</span> and are <span title="the properties
of an item">the properties of the item</span> created by the element