W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

Re: [dom] Should the return values of getElementsByClassName/TagName/TagNameNS be HTMLCollection

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 18 Feb 2012 03:17:52 -0500
Message-ID: <CA+c2ei8AFuDKsXiqog1Rccp_icEaKMOi_LVnj=s8zi+eirjyWw@mail.gmail.com>
To: Ryosuke Niwa <rniwa@webkit.org>
Cc: Anne van Kesteren <annevk@opera.com>, Boris Zbarsky <bzbarsky@mit.edu>, www-dom@w3.org
I really think that the whole named getter issue is something that we
should not take lightly. It has many similarities with the scope chain
issue for on* attributes in that it causes namespace collisions making
it hard to add features in the future.

It seems to me that we should at least try to avoid propagating the
named getter behavior any further, and ideally try to actively
deprecate it to see if it's possible.

/ Jonas

On Fri, Feb 17, 2012 at 12:46 PM, Ryosuke Niwa <rniwa@webkit.org> wrote:
> I don't think we'll have an isuue with using HTMLCollection but I'll need to
> check with the community. Filed
> https://bugs.webkit.org/show_bug.cgi?id=78909 fyi.
>
> - Ryosuke
>
> On Feb 17, 2012 7:17 AM, "Anne van Kesteren" <annevk@opera.com> wrote:
Received on Saturday, 18 February 2012 08:18:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT