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: Anne van Kesteren <annevk@opera.com>
Date: Sat, 18 Feb 2012 09:28:44 +0100
To: "Ryosuke Niwa" <rniwa@webkit.org>, "Jonas Sicking" <jonas@sicking.cc>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, www-dom@w3.org
Message-ID: <op.v9u8h6t364w2qv@annevk-macbookpro.local>
On Sat, 18 Feb 2012 09:17:52 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> 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.

Named getters are nice for authors, and besides, it was already pointed  
out it's not avoidable here:  

Anne van Kesteren
Received on Saturday, 18 February 2012 08:29:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC