This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
If my reading of the CSS 2.1 grammar is correct, then element\:first-line {} is invalid, yet the CSS validator reports now error. Regards, Cecil Ward.
Why would that be invalid?
(In reply to comment #0) > If my reading of the CSS 2.1 grammar is correct, then > element\:first-line {} > is invalid, yet the CSS validator reports now error. > Regards, > Cecil Ward. Looking at it again, I understand my mistake. The \: is not parsed as part of a delimited, but is parsed as a continuing part of an identifier so the entire string is taken as a valid element name. So correct behaviour, albeit weird, but that's life. So, my mistake. Need to mark this as "not a bug".