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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1072

           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