[whatwg] classList should perhaps move from HTMLElement to Element
Boris Zbarsky
bzbarsky at MIT.EDU
Tue Nov 23 11:06:02 PST 2010
On 11/23/10 2:02 PM, Anne van Kesteren wrote:
> So if I set Element.className on an element that is not in a namespace
> and has no attributes. Its attributes collection remains empty or
> something?
Hmm. I would think this should throw (since this won't do what you
expect; e.g. CSS selectors and getElemetsByClassName won't start
matching it).
-Boris
More information about the whatwg
mailing list