W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2006

[Bug 2920] Several invalid forms using @charset passed as valid

From: <bugzilla@wiggum.w3.org>
Date: Wed, 22 Feb 2006 22:35:15 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1FC2Zn-0007L1-CY@wiggum.w3.org>


           Summary: Several invalid forms using @charset  passed as valid
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: cecil@cecilward.com
         QAContact: www-validator-cvs@w3.org

The CSS validator passes the following with no error,

Test case 1.

(spec requires a space before open quotes)

Test case 2.
    @charset              "utf-8";

(spec requires exactly 1 space before opening double quotes)

Test case 3.

(newline instead of space)

Test case 4.

Test case 5.
    @charset "utf-8" ;

(illegal space before semicolon)

Test case 6.
    @charset "utf-8"

(illegal newline before semicolon)

Test case 7:
    /**/@charset "utf-8";


Cecil Ward.
Received on Wednesday, 22 February 2006 22:35:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:16 UTC