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

[Bug 1072] New: CSS3: Error in parsing selectors with comments

From: <bugzilla@wiggum.w3.org>
Date: Mon, 07 Feb 2005 11:23:55 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Cy6zj-0005wK-Cu@wiggum.w3.org>


           Summary: CSS3: Error in parsing selectors with comments
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: roth@visualclick.de
         QAContact: www-validator-cvs@w3.org

The following stylesheet gives an error when validating using CSS3 profile:

a/*test*/b {color: red}

It is however valid according to CSS3 selectors grammar (which is normative) and should be interpreted 
like CSS2's

a b { color: red}

Note that the CSS3 selectors grammar does not require an explicit whitespace as combinator, it can 
also be empty. This is a change compared with parsing selectors in CSS2+CSS21 and therefore should 
be handled properly in the respective CSS level profile.
Received on Monday, 7 February 2005 11:23:55 UTC

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