[html5] r2618 - [w] (2) Make HTMLCollection.namedItem() apply to non-HTML nodes. (bug 6036)

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 29 16:49:33 PST 2008


Author: ianh
Date: 2008-12-29 16:49:32 -0800 (Mon, 29 Dec 2008)
New Revision: 2618

Modified:
   index
   source
Log:
[w] (2) Make HTMLCollection.namedItem() apply to non-HTML nodes. (bug 6036)

Modified: index
===================================================================
--- index	2008-12-30 00:39:34 UTC (rev 2617)
+++ index	2008-12-30 00:49:32 UTC (rev 2618)
@@ -5319,10 +5319,7 @@
    <code><a href=#the-area-element>area</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#the-img-element>img</a></code>, or
    <code><a href=#the-object-element>object</a></code> element with a <code title="">name</code> attribute equal to <var title="">key</var>, or,</li>
 
-   <li>It is an <a href=#html-elements title="HTML elements">HTML element</a> of any
-   kind with an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute equal to
-   <var title="">key</var>. (Non-HTML elements, even if they have IDs,
-   are not searched for the purposes of <code title=dom-HTMLCollection-namedItem><a href=#dom-htmlcollection-nameditem>namedItem()</a></code>.)</li>
+   <li>It is an element with an ID <var title="">key</var>.</li>
 
   </ul><p>If no such elements are found, then the method must return
   null.</p>

Modified: source
===================================================================
--- source	2008-12-30 00:39:34 UTC (rev 2617)
+++ source	2008-12-30 00:49:32 UTC (rev 2618)
@@ -5173,11 +5173,7 @@
    title="">name</code> attribute equal to <var
    title="">key</var>, or,</li>
 
-   <li>It is an <span title="HTML elements">HTML element</span> of any
-   kind with an <code title="attr-id">id</code> attribute equal to
-   <var title="">key</var>. (Non-HTML elements, even if they have IDs,
-   are not searched for the purposes of <code
-   title="dom-HTMLCollection-namedItem">namedItem()</code>.)</li>
+   <li>It is an element with an ID <var title="">key</var>.</li>
 
   </ul>
 




More information about the Commit-Watchers mailing list