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

[whatwg] classList should perhaps move from HTMLElement to Element

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 19 Nov 2010 14:40:59 -0500
Message-ID: <4CE6D2CB.2060409@mit.edu>
On 11/19/10 2:25 PM, Cameron McCormack wrote:
> Would classList provide access to the SVG element?s base or animated
> value of class=""?  Base probably makes more sense.

Imo, base value.

In general, I think we should define classList as providing access to 
the value of the DOM attribute that the relevant language defines as a 
class (using the same definition as CSS Selectors).  Note that this 
attribute my or may not actually be named "class".

-Boris
Received on Friday, 19 November 2010 11:40:59 UTC

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