This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Introduce Element.id, Element.className, and Element.classList. Make them dependent on attributes named "id" and "class", and work irrespective of the namespace of the element.
Does this mean that the "id" and "class" attributes would map to getElementById/#foo/.foo for all elements irrespective of namespace? I'd be totally behind such a behavior. Last I suggested it a few years back I was met by silence from other browser vendors. Would be lovely if people were behind it now.
(In reply to comment #1) > Does this mean that the "id" and "class" attributes would map to > getElementById/#foo/.foo for all elements irrespective of namespace? Yes. I think we now have people from WebKit, Gecko, and Presto behind this. I will attempt to draft this.
Now part of the draft: https://bitbucket.org/ms2ger/dom-core/changeset/29eb9f3c67e3