This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
.new_foo { color: red; } Parse Error - new_foo { color: red; }
according to W3 specs, underscore is NOT allowed in class names, and the validator should recognize this! I just got a completely valid stylesheet even though some classes had underscores. I believe it is in the CSS1 specs in section 7.1. This should be rectified. Thanks.
Ian Hickson comments on CSS1 in "Re: Proprietary identifier names" (22 February 2003; message to <mailto:www-style@w3.org>; <mid:Pine.LNX.4.50.0302220527170.3785-100000@dhalsim.dreamhost.com>, <http://lists.w3.org/Archives/Public/www-style/2003Feb/0199.html>): "There aren't any [CSS1 user agents], so in the real world that really isn't an important consideration. Any new UAs wouldn't implement CSS1 anyway, they'd implement the CSS1 profile of CSS2 or CSS3." Consider the CSS1 Recommendation dead, and let's close this bug. The alternative is to generate a faithful scanner and parser for CSS1, which would, for example, have to forbid characters outside the repertoire of ISO 8859-1 yet allow bare digits at the start of class names. What other details have I forgotten? Who would be willing to uncover those details? Who would implement them? Consider the CSS1 Recommendation dead, and let's close this bug.
*** This bug has been marked as a duplicate of 219 ***