[Bug 891] Semicolon should terminate blockless at-rule

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


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