- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 23 Nov 2010 12:37:51 -0500
- To: Anne van Kesteren <annevk@opera.com>
- CC: whatwg <whatwg@lists.whatwg.org>, www-svg <www-svg@w3.org>
On 11/23/10 12:20 PM, Anne van Kesteren wrote: > My plan is to define Element.id, Element.className, Element.classList, > and getElementsByClassName in DOM Core. And tie getElementById to > Element.id somehow, tie Element.id to an attribute named "id", and > Element.className to an attribute named "class". Why do we want to tie .className to a particular attribute name? I agree it may not be that convenient for authors if a particular language wants to use some other attr name for classes, but presumably they'd have really good reasons for doing that if they do it at all? -Boris
Received on Tuesday, 23 November 2010 17:38:29 UTC