- From: Bert Bos <bert@w3.org>
- Date: Mon, 23 Jul 2007 15:33:59 +0200
- To: Andrei Polushin <polushin@gmail.com>
- Cc: www-style@w3.org
Andrei Polushin wrote: > In [CSS21, G.2] > <http://www.w3.org/TR/2007/CR-CSS21-20070719/grammar.html#scanner>: > > The grammar rule: > > @{C}{H}{A}{R}{S}{E}{T} {return CHARSET_SYM;} I fully expected new errors to be found, but not quite within 48 hours :-) Yes, you're right. In the effort to make the grammar explicitly case-insensitive we went too far. '@charset' is indeed not case-sensitive. Strictly speaking, it is not an error. The grammar accepts more than what's correct CSS 2.1 anyway. E.g., it also accepts 'color: 1em'. But I agree the grammar is confusing and can easily be improved. Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Monday, 23 July 2007 13:37:13 UTC