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

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 25 Nov 2012 18:58:18 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-20075-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20075

            Bug ID: 20075
           Summary: The parser takes as invalid the @charset css at-rule
                    if the value is between single quotes (')
    Classification: Unclassified
           Product: CSSValidator
           Version: CSS Validator
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
          Assignee: dave.null@w3.org
          Reporter: matias_10323@hotmail.com
        QA Contact: www-validator-cvs@w3.org

The parser takes as invalid the @charset css at-rule if the value is between
single quotes, also known as apostrophe ('). But I've seen examples of this is
valid in MDN (https://developer.mozilla.org/en/docs/CSS/@charset). I have also
created many css stylesheets using apostrophes (') instead of double quotes (")
and I've never had any problems of any kind.

eg.:
@charset 'UTF-8';
is taken as invalid. but:
@charset "UTF-8";
is taken as valid. when truly both are valid.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 25 November 2012 18:58:19 UTC

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