This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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!!
(In reply to comment #0) > The validator checks stuff inside /* comments */ in CSS. As it should. You can fix the validation error by writing your line like this: font-size: 13px; /* same font size for page nums inside <h>, regular <p> or in the index */ ...but it's often cleaner/better to just use external style sheets instead of ones inlined in HTML.