W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Sat, 08 Apr 2006 19:16:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1FSIvI-0001rI-Ob@wiggum.w3.org>


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:16 UTC