W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Adding methods to Element.prototype

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 22 Nov 2011 10:06:56 -0800
Message-ID: <CANMdWTuQLYFXnFREX71X2dC7w-bU32SpFdnecTPWmgJU1BASNQ@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Aryeh Gregor <ayg@aryeh.name>, "Tab Atkins Jr." <jackalmage@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-webapps@w3.org
On Tue, Nov 22, 2011 at 5:28 AM, Anne van Kesteren <annevk@opera.com> wrote:

> On Tue, 22 Nov 2011 03:58:32 +0100, Ojan Vafai <ojan@chromium.org> wrote:
>
>> I think this is the only sane solution to this problem. Lets split up the
>> Element interface.
>>
>
> I think an IDL annotation would work better from a specification
> perspective. E.g. [NoScope].
>
> Otherwise we'd need to do this interface split for each element type where
> we add new attributes.


Sounds find to me. I'd prefer to have the annotation be [Scope] though. The
default when adding new attributes should be to not scope them.
Received on Tuesday, 22 November 2011 18:07:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT