[whatwg] classList should perhaps move from HTMLElement to Element

Anne van Kesteren annevk at opera.com
Tue Nov 23 12:25:15 PST 2010

On Tue, 23 Nov 2010 21:04:37 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
> I agree that unless we get other groups in on this change, and get
> things like SVG cross-references and CSS styling reacting to these id
> and class-list changes, then we're just making things more confusing
> by making the DOM pretend that the class changed, when no other
> systems agree.

Well yes, obviously .class notation, #id, etc. would all have to remain  
functioning. To me it makes sense to define ID/class-ness at the DOM  
level. CSS operates on that level too.

Anne van Kesteren

More information about the whatwg mailing list