[whatwg] classList should perhaps move from HTMLElement to Element

Boris Zbarsky bzbarsky at MIT.EDU
Fri Nov 19 08:34:29 PST 2010


Given that SVG also has classes, it would make some sense to move 
classList from HTMLElement to Element.  That way SVG, and any other 
languages that define classes (XUL comes to mind, actually) can benefit 
from it as well.

Note that Gecko's current classList implementation lives on Element.

-Boris


More information about the whatwg mailing list