[Bug 2918] No error reported or "element\:first-line"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2918


cecil@cecilward.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from cecil@cecilward.com  2006-04-08 19:16 -------
(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".

Received on Saturday, 8 April 2006 19:16:53 UTC