- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 05 Nov 2008 12:14:17 -0800
- To: Justin Rogers <justrog@microsoft.com>
- CC: "www-style@w3.org" <www-style@w3.org>, "info@gtalbot.org" <info@gtalbot.org>
Justin Rogers wrote:
> G Talbot has a test case that implies the following CSS identifier be
> reconstituted by throwing out the escaped newline.
>
> DIV { background-color: gre\
> en; }
>
> However, there is nothing in the wording of the specification that
> implies this is true, though other browsers are clearly accepting this.
> Below the spec says 1) inside of a string, which we are not. 2) cancels
> the meaning of special characters, which it is not, 3) allows for
> inserting Unicode characters, which it again is not.
The newline is a special character. It normally ends an identifier.
If it is escaped, then it forms part of the identifier. In this case,
that example should parse equivalent to
DIV { background-color: gre\00000Aen; }
~fantasai
Received on Wednesday, 5 November 2008 20:15:08 UTC