[whatwg] 2.2.6. The document - getElementsByClassName

Quoting ROBO Design <robodesign at gmail.com>:
>> The element's classes. The value must be a list of zero or more
>> words (consisting of one or more non-space characters) separated
>> by one or more spaces.
>
> By definition the class names are separated by spaces. How's this?

This is HTML 5. (And rightly so that it does not redefine what is allowed for
the 'class' attribute applied on elements in the XHTML 1 namespace.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Monday, 7 November 2005 08:32:12 UTC