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

[Bug 891] Semicolon should terminate blockless at-rule

From: <bugzilla@wiggum.w3.org>
Date: Tue, 25 Apr 2006 10:24:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1FYKiU-0006xz-Un@wiggum.w3.org>


roth@visualclick.de changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |VERIFIED

------- Comment #2 from roth@visualclick.de  2006-04-25 10:24 -------
Thank you for the clarification. On submission time, I obviously was misled by
the wording of the CSS 2.1 spec: "An at-rule consists of everything up to and
including the next semicolon (;) or the next block, whichever comes first.",
where I construed 'everything' to mean just that.

>But for the moment, CSS doesn't yet say how to treat this particular example.

This is a somewhat unfortunate state (at least for implementors) in general, as
for several other cases that do not match the generic grammar as well there
*are* rules for how to recover (cf. CSS 2.1, 4.2, "Unexpected end of style
sheet." and "Unexpected end of string."). 
Received on Tuesday, 25 April 2006 10:24:31 UTC

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