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

Re: classList should perhaps move from HTMLElement to Element

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 20 Nov 2010 08:25:09 +1300
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: whatwg <whatwg@lists.whatwg.org>, www-svg <www-svg@w3.org>
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 19:25:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:29 UTC