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

Philip Jägenstedt philipj at opera.com
Tue Oct 8 11:35:27 PDT 2013


On Tue, Oct 8, 2013 at 5:26 PM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Tue, Oct 8, 2013 at 4:26 PM, Erik Dahlstrom <ed at opera.com> wrote:
>> On Tue, 08 Oct 2013 15:49:48 +0200, Philip Jägenstedt <philipj at 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



More information about the whatwg mailing list