Re: classList should perhaps move from HTMLElement to Element

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 19:25:53 UTC