[whatwg] .tags on HTMLCollections

Anne van Kesteren annevk at opera.com
Fri Jul 24 03:42:59 PDT 2009


On Fri, 24 Jul 2009 04:56:15 +0200, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> Anne van Kesteren wrote:
>> From what I heard so far it is there because of document.all. If  
>> document.all does indeed need to return a separate object as HTML5  
>> suggests we can probably remove it from HTMLCollection in due course.
>
> Given that the namedItem behavior of document.all is different from the  
> namedItem behavior of HTMLCollection, I don't see how document.all could  
> possibly be a general HTMLCollection....

They are indeed distinct, but do share the same interface name in Opera the moment, as far as I can tell... In any case, my point was that we'd be ok with removing the tags member from HTMLCollection in due course.


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list