- From: <bugzilla@wiggum.w3.org>
- Date: Sun, 07 Sep 2008 14:32:27 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6036 Summary: HTMLCollection.namedItem() should look for non-HTML elements Product: HTML WG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Spec bugs AssignedTo: dave.null@w3.org ReportedBy: simonp@opera.com QAContact: public-html-bugzilla@w3.org CC: ian@hixie.ch, mike@w3.org, public-html@w3.org The spec says about HTMLCollection.namedItem(): "It is an HTML element of any kind with an id attribute equal to key. (Non-HTML elements, even if they have IDs, are not searched for the purposes of namedItem().)" I think this should be changed to look for non-HTML elements too. It already does in Opera and Firefox (not WebKit). There's a .children attribute on Element that returns HTMLCollection and I think it would be silly if namedItem only worked for HTML elements. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Sunday, 7 September 2008 14:33:02 UTC