W3C home > Mailing lists > Public > www-style@w3.org > February 2009

[CSS21] Ambiguity relating to character spacing within @charset rule

From: James Hopkins <james@idreamincode.co.uk>
Date: Sun, 8 Feb 2009 03:30:07 +0000
Message-Id: <436D0B5C-A035-4B60-ABE3-F4392A4475D4@idreamincode.co.uk>
To: www-style@w3.org

Regarding @charset rule constructs, the current spec states ,"@charset  
must be written literally, i.e., the 10 characters '@charset  
"' (lowercase, no backslash escapes), followed by the encoding name,  
followed by '";' ". It does not mention whether a character space is  
required between the '@charset' string and the succeeding encoding name.

Firefox 3, Opera and Safari all parse styles within a block (where  
there is no character space), whereas IE8 does not; the IE team have  
in fact included a test case within their conformance suite which  
demonstrates this behavior, which is why I'm raising this issue.


Received on Sunday, 8 February 2009 03:30:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC