[whatwg] HTMLCollection and HTMLAllCollection suggestion

Perry Smith pedzsan at gmail.com
Tue Apr 6 10:37:10 PDT 2010


On Apr 6, 2010, at 12:24 PM, Boris Zbarsky wrote:

> On 4/6/10 12:17 PM, Perry Smith wrote:
>> I'm confused by the spec at this point. The title for section 13 is
>> "obsolete features" but then 13.3 is "Requirements"
>
> Right.  Just because a feature is obsolete doesn't mean that UAs  
> aren't required to implement it in a particular way.
>
> > I test a little bit in firefox and document.all doesn't work.
>
> Sure it does:
>
>  data:text/html,<body><script>alert(document.all.length);</script>
>
> Or were you testing in standards mode or something?

Gack!  probably.  document.compatMode returns CSS1Compat so I'm in no- 
quirks-mode which is probably what you mean by standards mode.  I'm  
then using Firebug to poke at things interactively from the console.

>
>> Is the HTMLAllCollection coming or going?
>
> Neither.  It's here; no one is planning to add new features to it,  
> web pages are discouraged from using it.

Ok... sorry if I've wasted peoples time.

Perry




More information about the whatwg mailing list