Re: [CSS2.1] escapes, characters and parsing

* Alan Gresley wrote:
>I have not broken it down to it's basic parts since I do not know quite 
>what should be happening as it stands. The pertinent CSS is here.
>
>    \p { background: green; }
>    \* { background: gray; }
>    body \2a { background: red; }

Well, `\p` tokenizes as `IDENT` token with value `p`, `\*` tokenizes as
`IDENT` token with value `*` and `body \2a` tokenizes as `IDENT`, `S`,
`IDENT` with values `body`, ` `, and `*` respectively after unescaping.
The selectors would match elements with node name `*`.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 25 March 2011 06:59:38 UTC