- From: Richard Ishida <ishida@w3.org>
- Date: Wed, 25 Jul 2007 12:21:52 +0100
- To: <public-i18n-core@w3.org>
FYI. I don't think we need to take any action here.
RI
============
Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf
Of fantasai
Sent: 25 July 2007 08:37
To: Andrei Polushin
Cc: www-style@w3.org
Subject: Re: [CSS21] New Candidate Recommendation
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;}
>
> Should be replaced by (reverted to):
>
> "@charset " {return CHARSET_SYM;}
>
> Because of the special rule for @charset in [CSS21, 4.4]
> <http://www.w3.org/TR/2007/CR-CSS21-20070719/syndata.html#x57>:
>
>> @charset must be written literally, i.e., the 10 characters '@charset
>> "' (lowercase, no backslash escapes), followed by the encoding name,
>> followed by '";'.
>
> BTW, the wording about 10 characters '@charset "' is another problem,
> because current grammar allows the '@charset ' to be followed by
> either " or ' symbol:
>
> stylesheet
> : [ CHARSET_SYM STRING ';' ]?
> [S|CDO|CDC]* [ import [S|CDO|CDC]* ]*
> [ [ ruleset | media | page ] [S|CDO|CDC]* ]*
> ;
>
> where STRING is can be quoted as either "string1" or 'string2'.
Thanks! I've added your issues to the issues list.
http://csswg.inkedblade.net/spec/css2.1
~fantasai
Received on Wednesday, 25 July 2007 11:20:06 UTC