W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] classList should perhaps move from HTMLElement to Element

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 20 Nov 2010 08:25:09 +1300
Message-ID: <20101119192509.GE8734@wok.mcc.id.au>
Boris Zbarsky:
> 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.

Would classList provide access to the SVG element?s base or animated
value of class=""?  Base probably makes more sense.

-- 
Cameron McCormack ? http://mcc.id.au/
Received on Friday, 19 November 2010 11:25:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC