W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2012

[Bug 20075] The parser takes as invalid the @charset css at-rule if the value is between single quotes (')

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Nov 2012 14:13:38 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-20075-169-EIxtEideHj@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20075

Yves Lafon <ylafon@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Yves Lafon <ylafon@w3.org> ---
>From CSS21:
http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#charset
<<
After "@charset", authors specify the name of a character encoding (in quotes).
For example:

@charset "ISO-8859-1";

@charset must be written literally, i.e., the 10 characters '@charset "'
(lowercase, no backslash escapes), followed by the encoding name, followed by
'";'. 
>>
So @charset        "XXX"; is not accepted, and @charset 'XXX'; is also not
accepted.
Cheers,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 28 November 2012 14:13:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:53 UTC