Re: [css3-syntax] Both ; and {} should end all at-rules

Le 24/02/2013 08:39, Simon Sapin a écrit :
> Le 24/02/2013 05:38, Tab Atkins Jr. a écrit :
>>> (By the way, this issue disappears if we get rid of
>>> recognized/rule-filled/declaration-filled at-rules concepts as in
>>> http://lists.w3.org/Archives/Public/www-style/2013Feb/0411.html   )
>> Done.
> There is some of it left in §2.1. Error Handling.

Also in the definition of at-rule:

http://dev.w3.org/csswg/css3-syntax/#at-rule

The value should be an *optional* {}-block. Or something that 
distinguishes an empty block from no block (ie. a semicolon was parsed.)

   @media screen;
   @import "foo.css" {}

Maybe add a note that that value can be parsed by calling one of the 
parser’s entry points/algorithms.

-- 
Simon Sapin

Received on Sunday, 24 February 2013 07:46:50 UTC