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

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