- From: Etan Wexler <ewexler@stickdog.com>
- Date: Wed, 25 Dec 2002 04:35:33 -0500
- To: www-style@w3.org, Seph Mohamed Soliman <seph@clanhost.dk>
Seph Mohamed Soliman wrote to <www-style@w3.org> on 23 December 2002 in "Underscore problem" (<mid:2071.10.0.1.3.1040074583.squirrel@webmail.clanhost.dk>): > [...] I was somewhat sad to find out that the common underscore ("_") > was non-valid in classnames in CSS. Underscore (officially "low line", U+005F) is perfectly valid in class name selectors when properly escaped. Thus I could match elements in the class my_class with the valid selector {.my\_class} (note that the brackets are delimiters for the prose, not part of the selector). ... > So I now ask you: Why do you not allow underscores to be a part of > classnames? According to Bert Bos, it was an oversight. For the record read his message, "Re: Is there a way..." (11 April 2001; <mid:15060.32418.828207.879369@lanalana.inria.fr> / <http://lists.w3.org/Archives/Public/www-style/2001Apr/0035.html>). > I heard something about that the character "dash" ("-") is valid I heard that the World Wide Web Consortium makes its technical reports, corrections to technical reports, and mailing list archives consistently available to anyone, anywhere on the Web, free of charge. As these materials include the normative, complete CSS specifications, you might want to check them: http://www.w3.org/TR/ http://lists.w3.org/ -- Etan Wexler <mailto:ewexler@stickdog.com>
Received on Wednesday, 25 December 2002 05:34:58 UTC