W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

[whatwg] classList should perhaps move from HTMLElement to Element

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 03 May 2012 10:45:36 +1000
Message-ID: <4FA1D530.9080009@mcc.id.au>
Rik Cabanier:
> Who would do this in the current SVG world? As you say, (!elt.className)
> would always return false...
> Are you worried that new content won't work with an old viewer?

No that would actually continue to behave the same.  So I misspoke when 
I said things will "break" -- author expectations will break instead if 
they assume that that code which works on HTML elements would also work 
on SVG elements.

But maybe that's OK?
Received on Wednesday, 2 May 2012 17:45:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT