This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2918 - No error reported or "element\:first-line"
Summary: No error reported or "element\:first-line"
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 21:58 UTC by CecilWard
Modified: 2006-04-08 19:16 UTC (History)
0 users

See Also:


Attachments

Description CecilWard 2006-02-22 21:58:00 UTC
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.
Comment 1 Bj 2006-02-23 04:50:47 UTC
Why would that be invalid?
Comment 2 CecilWard 2006-04-08 19:16:39 UTC
(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".