W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2011

[whatwg] document.all quirkiness

From: João Eiras <joaoe@opera.com>
Date: Tue, 04 Oct 2011 20:38:33 +0200
Message-ID: <op.v2ubejew2q99of@joaoe>
On Tue, 04 Oct 2011 19:58:56 +0200, Jo?o Eiras <joaoe at 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.
Received on Tuesday, 4 October 2011 11:38:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC