[whatwg] classList should perhaps move from HTMLElement to Element

Boris Zbarsky bzbarsky at MIT.EDU
Fri Nov 19 11:40:59 PST 2010


On 11/19/10 2:25 PM, Cameron McCormack wrote:
> Would classList provide access to the SVG element’s base or animated
> value of class=""?  Base probably makes more sense.

Imo, base value.

In general, I think we should define classList as providing access to 
the value of the DOM attribute that the relevant language defines as a 
class (using the same definition as CSS Selectors).  Note that this 
attribute my or may not actually be named "class".

-Boris




More information about the whatwg mailing list