W3C home > Mailing lists > Public > www-style@w3.org > February 2013

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sun, 24 Feb 2013 08:46:28 +0100
Message-ID: <5129C554.30901@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT