[html5] r8599 - [giow] (3) Make the 'supported property names' unenumerable on objects that desc [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri May 2 13:31:06 PDT 2014
Author: ianh
Date: 2014-05-02 13:31:03 -0700 (Fri, 02 May 2014)
New Revision: 8599
Modified:
complete.html
index
source
Log:
[giow] (3) Make the 'supported property names' unenumerable on objects that descend from HTMLCollection.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25123
Affected topics: DOM APIs, Microdata
Modified: complete.html
===================================================================
--- complete.html 2014-05-02 20:21:16 UTC (rev 8598)
+++ complete.html 2014-05-02 20:31:03 UTC (rev 8599)
@@ -7640,6 +7640,8 @@
preceding its <code title="">name</code> if it contributes both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string><code>item(<var title="">name</var>)</code></dfn> and <dfn id=dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn>
methods must act according to the following algorithm:</p>
@@ -7720,6 +7722,8 @@
duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element preceding its <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> if it contributes both, they differ from each other, and neither is the
duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn> method must act according to the following algorithm:</p>
<ol><li>If <var title="">name</var> is the empty string, return null and stop the algorithm.</li>
@@ -7852,6 +7856,8 @@
duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element preceding its <code title=attr-option-name><a href=#attr-option-name>name</a></code> if it contributes both, they differ from each other, and neither is
the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>legacy caller</dfn> of the
<code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> interface must act like the <code title=dom-HTMLCollection-namedItem>namedItem()</code> method on the ancestor
<code><a href=#htmlcollection>HTMLCollection</a></code> interface.</p>
@@ -7994,6 +8000,8 @@
elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree order</a>, ignoring later
duplicates.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names><code>names</code></dfn> attribute must
return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array 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>,
Modified: index
===================================================================
--- index 2014-05-02 20:21:16 UTC (rev 8598)
+++ index 2014-05-02 20:31:03 UTC (rev 8599)
@@ -7640,6 +7640,8 @@
preceding its <code title="">name</code> if it contributes both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string><code>item(<var title="">name</var>)</code></dfn> and <dfn id=dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn>
methods must act according to the following algorithm:</p>
@@ -7720,6 +7722,8 @@
duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element preceding its <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> if it contributes both, they differ from each other, and neither is the
duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn> method must act according to the following algorithm:</p>
<ol><li>If <var title="">name</var> is the empty string, return null and stop the algorithm.</li>
@@ -7852,6 +7856,8 @@
duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element preceding its <code title=attr-option-name><a href=#attr-option-name>name</a></code> if it contributes both, they differ from each other, and neither is
the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>legacy caller</dfn> of the
<code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> interface must act like the <code title=dom-HTMLCollection-namedItem>namedItem()</code> method on the ancestor
<code><a href=#htmlcollection>HTMLCollection</a></code> interface.</p>
@@ -7994,6 +8000,8 @@
elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree order</a>, ignoring later
duplicates.</p>
+ <p>The properties exposed in this way must be <a href=#unenumerable>unenumerable</a>.</p>
+
<p>The <dfn id=dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names><code>names</code></dfn> attribute must
return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array 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>,
Modified: source
===================================================================
--- source 2014-05-02 20:21:16 UTC (rev 8598)
+++ source 2014-05-02 20:31:03 UTC (rev 8599)
@@ -7100,6 +7100,8 @@
preceding its <code data-x="">name</code> if it contributes both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <span>unenumerable</span>.</p>
+
<p>The <dfn data-x="dom-HTMLAllCollection-item-string"><code>item(<var
data-x="">name</var>)</code></dfn> and <dfn
data-x="dom-HTMLAllCollection-namedItem"><code>namedItem(<var data-x="">name</var>)</code></dfn>
@@ -7197,6 +7199,8 @@
data-x="attr-fe-name">name</code> if it contributes both, they differ from each other, and neither is the
duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <span>unenumerable</span>.</p>
+
<p>The <dfn data-x="dom-HTMLFormControlsCollection-namedItem"><code>namedItem(<var
data-x="">name</var>)</code></dfn> method must act according to the following algorithm:</p>
@@ -7367,6 +7371,8 @@
data-x="attr-option-name">name</code> if it contributes both, they differ from each other, and neither is
the duplicate of an earlier entry.</p>
+ <p>The properties exposed in this way must be <span>unenumerable</span>.</p>
+
<p>The <dfn data-x="dom-HTMLOptionsCollection-namedItem">legacy caller</dfn> of the
<code>HTMLOptionsCollection</code> interface must act like the <code
data-x="dom-HTMLCollection-namedItem">namedItem()</code> method on the ancestor
@@ -7535,6 +7541,8 @@
elements <span>represented by the collection</span>, in <span>tree order</span>, ignoring later
duplicates.</p>
+ <p>The properties exposed in this way must be <span>unenumerable</span>.</p>
+
<p>The <dfn data-x="dom-HTMLPropertiesCollection-names"><code>names</code></dfn> attribute must
return a <span>live</span> <span data-x="dfn-read-only-array">read only</span> array object giving
the <span>property names</span> of all the elements <span>represented by the collection</span>,
More information about the Commit-Watchers
mailing list