This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15342 - Remove classList/className IDL attributes, which are specified in DOM4.
Summary: Remove classList/className IDL attributes, which are specified in DOM4.
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-27 10:44 UTC by contributor
Modified: 2012-07-18 18:39 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-12-27 10:44:19 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#classes
Complete: http://www.whatwg.org/c#classes

Comment:
Remove classList/className IDL attributes, which are specified in DOM4.

Posted from: 91.181.167.105 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111203 Firefox/11.0a1
Comment 1 Ian 'Hixie' Hickson 2012-02-01 00:46:22 UTC
Nah, they should be removed from DOM Core instead. Doesn't make sense to make these global given that they work differently in SVG and HTML.
Comment 2 Cameron McCormack 2012-02-02 01:47:34 UTC
For className, yeah we've got a consistency problem between SVG and HTML.  For classList, though, I don't see any reasons why we wouldn't want to just inherit that from Element on to SVG elements.
Comment 3 Cameron McCormack 2012-02-02 01:50:02 UTC
(Also it is not problematic if className were on Element, as if SVG retained its own className attribute it would just override this.)