[whatwg] document.all quickiness

João Eiras joaoe at opera.com
Tue Oct 4 10:58:56 PDT 2011


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.

Thank you.

[1]  
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#htmlallcollection-0

[2] http://dl.dropbox.com/u/9681493/procinsts.html


More information about the whatwg mailing list