W3C home > Mailing lists > Public > www-style@w3.org > April 2003

Re: class / ident / numbers

From: Etan Wexler <ewexler@stickdog.com>
Date: Fri, 18 Apr 2003 04:07:06 -0700
To: www-style <www-style@w3.org>
Message-id: <BAC4FED9.F50%ewexler@stickdog.com>

Michael Day wrote to <mailto:www-style@w3.org> on 18 April 2003 in "class /
ident / numbers" 
(<mid:Pine.LNX.4.44.0304181707540.24737-100000@lorien.yeslogic.com>):

> The CSS3 Selectors test cases state that this is not a valid class
> selector:
> 
> .\5cm { ... }

I'm assuming that you're writing of test #155, "Syntax and Parsing",
<http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-mod
sel-155.html>. (A URI would have made your intent clear.)

The test does not claim that {.\5cm} is an invalid selector. The test claims
that {.\5cm} must not match the class 5cm .

> What have I overlooked?

You have overlooked escape sequences. The three-character sequence {\5c}
represents a single character: U+005C, reverse solidus (also known as
backslash). So the selector {.\5cm} matches the class \m .

-- 
Etan Wexler <mailto:ewexler@stickdog.com>.
This message goes out to the Crucial Three.
Received on Friday, 18 April 2003 07:07:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:21 GMT