Re: [whatwg] classList should perhaps move from HTMLElement to Element

On Tue, 23 Nov 2010 21:04:37 +0100, Jonas Sicking <jonas@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
http://annevankesteren.nl/

Received on Tuesday, 23 November 2010 20:25:53 UTC