Re: [CSS2.1] Clarification on section 4.1.3 and the application of escaped newlines to identifiers.

Justin Rogers wrote:
> I believe we treat this in the CSS 2.1 parser in IE 8 standards mode as an error,
> not as gre\00000Aen. The reason is this:
> 
> escape          {unicode}|\\[^\r\n\f0-9a-f]
> 
> The hat symbol in that matching group means NOT any of those characters. So you
> can't have a \ followed by a \n. This means we treat \ as an unknown token, then
> we treat the \n as some space then we continue with a second identifier on the
> following line.

Hm, it seems in that case that we have a conflict in the spec.

I'll note that the character class excludes \r\n\f, but not spaces.
That seems very inconsistent to me.

~fantasai

Received on Thursday, 6 November 2008 19:12:58 UTC