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

[Bug 18355] New: The validator checks stuff inside /* comments */ in CSS.

From: <bugzilla@jessica.w3.org>
Date: Mon, 23 Jul 2012 10:12:45 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-18355-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18355

           Summary: The validator checks stuff inside /* comments */ in
                    CSS.
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: noboatc@gmail.com
         QAContact: www-validator-cvs@w3.org


The validator checks stuff inside /* comments */ in CSS.

I had this line in CSS:

 font-size: 13px; /* same font size for page nums inside <h>, regular <p> or in
the index */

then the validator gave me this error message:

Error Line 65, Column 63: element "h" undefined

…3px; /* same font size for page nums inside <h>, regular <p> or in the index
*/

If I make the comment a <!-- comment --> instead of a /* comment */, then it
validates perfectly.  So I did that, and got criticized for putting an
HTML-style comment in CSS!!

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 23 July 2012 10:12:49 UTC

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