W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] .tags on HTMLCollections

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 24 Jul 2009 12:42:59 +0200
Message-ID: <op.uxkipxy264w2qv@annevk-t60>
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
Received on Friday, 24 July 2009 03:42:59 UTC

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