W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: [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>
To: Rik Cabanier <cabanier@gmail.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, whatwg <whatwg@lists.whatwg.org>, www-svg <www-svg@w3.org>, Ian Hickson <ian@hixie.ch>
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 Thursday, 3 May 2012 00:46:16 UTC

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