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

[whatwg] classList should perhaps move from HTMLElement to Element

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 23 Nov 2010 21:25:15 +0100
Message-ID: <op.vmm4ccng64w2qv@anne-van-kesterens-macbook-pro.local>
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
http://annevankesteren.nl/
Received on Tuesday, 23 November 2010 12:25:15 UTC

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