W3C home > Mailing lists > Public > www-style@w3.org > November 2008

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 06 Nov 2008 11:11:37 -0800
Message-ID: <49134169.40604@inkedblade.net>
To: Justin Rogers <justrog@microsoft.com>
CC: Zack Weinberg <zweinberg@mozilla.com>, W3C Emailing list for WWW Style <www-style@w3.org>, "info@gtalbot.org" <info@gtalbot.org>

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 GMT

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