W3C home > Mailing lists > Public > www-svg@w3.org > November 2010

Re: classList should perhaps move from HTMLElement to Element

From: Chris Lilley <chris@w3.org>
Date: Fri, 19 Nov 2010 18:26:52 +0100
Message-ID: <454266759.20101119182652@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: whatwg <whatwg@lists.whatwg.org>, www-svg <www-svg@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT