W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

Re: [whatwg] Should onfoo event handler properties be on Element or HTMLElement?

From: Philip Jägenstedt <philipj@opera.com>
Date: Tue, 8 Oct 2013 20:35:27 +0200
Message-ID: <CAMQvoCnXE+iihepYk2a_bE2fdF+9niyhzQpA-UEQu3HdTfs+3w@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@lists.whatwg.org>, Erik Dahlstrom <ed@opera.com>
On Tue, Oct 8, 2013 at 5:26 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Tue, Oct 8, 2013 at 4:26 PM, Erik Dahlstrom <ed@opera.com> wrote:
>> On Tue, 08 Oct 2013 15:49:48 +0200, Philip Jägenstedt <philipj@opera.com>
>> wrote:
>>> 1. Do what Gecko does, even though there's no SVG spec requiring it yet.
>>> 2. Just say "Element implements GlobalEventHandlers".
>>>
>>> I would prefer option 2, since we already have a unified "Document
>>> implements GlobalEventHandlers".
>>
>> Either option is probably fine from a web compat standpoint, but I'd prefer
>> option 2 too.
>
> Have we had success yet making id="" and class="" "super"-global? Not
> sure we should extend the experiment prematurely.

I don't know anything about the move of those attributes, has it been
attempted in spec and implementation and run into trouble?

Philip
Received on Tuesday, 8 October 2013 18:35:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:11 UTC