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

Boris Zbarsky bzbarsky at MIT.EDU
Tue Oct 8 08:31:42 PDT 2013

On 10/8/13 11:26 AM, Anne van Kesteren wrote:
> Have we had success yet making id="" and class="" "super"-global? Not
> sure we should extend the experiment prematurely.

In terms of DOM behavior, in Gecko we have been shipping an "id" 
attribute on Element.prototype for a good long while now.  We haven't 
moved "className" to Element.prototype yet.

In terms of the behavior of the content attribute, I don't think we've 
made id="" on random nodes do anything interesting.


More information about the whatwg mailing list