[Webkit-unassigned] [Bug 83439] HTMLCollection.namedItem returns a collection when there are multiple elements sharing the name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 9 11:28:45 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83439





--- Comment #3 from Pablo Flouret <pablof at motorola.com>  2012-04-09 11:28:44 PST ---
The implementations for namedItem are separate for document.all and other collections (in the bindings, which are custom), but they do the same thing.

By looking at the history, it seems HTMLCollection.namedItem has always returned a list when there's more than one element with the same name (and maybe always at first). Doesn't seem to be due to wanting to align with document.all.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list