Index: source =================================================================== --- source (revision 6878) +++ source (working copy) @@ -8862,10 +8862,14 @@ HTMLCollection, with the exception that its namedItem() method returns an HTMLAllCollection object when there are - multiple matching elements.

+ multiple matching elements, and that its + item() method can be + used as a synonym for its namedItem() method

interface HTMLAllCollection : HTMLCollection {
-  // inherits length and item()
+  // inherits length and item(unsigned long index)
+  object? item(DOMString name);
   legacycaller getter object? namedItem(DOMString name); // overrides inherited namedItem()
   HTMLAllCollection tags(DOMString tagName);
 };
@@ -8884,6 +8888,8 @@

Returns the item with index index from the collection. The items are sorted in tree order.

+
element = collection . item(name)
+
collection = collection . item(name)
element = collection . namedItem(name)
collection = collection . namedItem(name)
collection[name]
@@ -8913,8 +8919,10 @@ HTMLCollection objects.

The item(key) and namedItem(key) method must act according to the + title="">key) methods must act according to the following algorithm: