[whatwg] document.all quirkiness

João Eiras joaoe at opera.com
Tue Oct 4 11:38:33 PDT 2011


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.



More information about the whatwg mailing list