Re: Adding methods to Element.prototype

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 UTC