[Bug 17201] HTMLCollection.prototype.namedItem behavior not defined for HTMLPropertiesCollection

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17201

--- Comment #14 from Cameron McCormack <cam@mcc.id.au> ---
(In reply to comment #13)
> I'm not sure what needs doing now. Should I change DOM's HTMLCollection
> "object?" to "Element?"? Is that it?

If HTMLCollection.prototype.namedItem only ever returns an Element or null even
when applied to an HTMLAllCollection, which is how I understand it, then make
it return "Element?".

> Should HTML's HTMLAllCollection then change "object?" to "(Element or
> HTMLCollection)?" maybe?

Yes, the latter is a bit more descriptive.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 25 March 2013 04:53:12 UTC