On Tue, 04 Oct 2011 19:58:56 +0200, João Eiras <jo...@opera.com> wrote:
Hi !
The spec for "HTMLAllCollection" [1] says "The HTMLAllCollection
interface represents a generic collection of elements".
After some quick testing in IE [2], IE returns the doctype, processing
instructions and comment nodes too. If converts them all to comments but
that's something else we shouldn't even touch with a long stick.
I would suggest that the spec be updated to match IE better.
After further testing (and getting someone to test in IE9), IE9 only
returns Elements, even in quirks mode, so I presume the change is not
needed.
Thanks.