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

Anne van Kesteren annevk at annevk.nl
Tue Oct 8 08:26:38 PDT 2013


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.


-- 
http://annevankesteren.nl/



More information about the whatwg mailing list