Re: classList should perhaps move from HTMLElement to Element

On Friday, November 19, 2010, 5:34:29 PM, Boris wrote:

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

I agree.

MathML has @class as well
http://www.w3.org/TR/MathML/chapter2.html#fund.globatt

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

BZ> -Boris




-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups

Received on Friday, 19 November 2010 17:27:38 UTC