W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] Re: getElementsByClassName

From: Dean Edwards <dean@edwards.name>
Date: Tue, 06 Sep 2005 01:38:01 +0100
Message-ID: <431CE4E9.8070203@edwards.name>
Ian Hickson wrote:
> On Tue, 6 Sep 2005, Lachlan Hunt wrote:
>>So, you're saying that it's possible that some hypothetical langauge may 
>>define a class attribute with any character as the delimiter, not just 
>>white space?  So, for example, a language could use semi-colons like 
>>this: foo:class="foo bar;baz" and thus, for that language, gEBCN("foo 
>>bar") would match that?
> Yeah. Theoretically. It's not exactly likely, but...
>>In which case, would it be worth adding a note to the spec stating that 
>>implementations should not assume that all languages will use white 
>>space delimiters between class names?
> Well, it's highly theoretical. It seems such a note might be more 
> confusing than helpful. What do you think?

It would be better to define that class names should not contain white 

Received on Monday, 5 September 2005 17:38:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:24 UTC