Re: [CSS21][css-syntax] Does selector+EOF create an empty rule?

On Sat, Jun 15, 2013 at 9:39 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 15/06/2013 07:05, Tab Atkins Jr. a écrit :]
>> I'm perfectly okay with your examples #2 ending up as an error, since
>> fixing it would require reintroducing the
>> "rule-filled/declaration-filled/neither" concept that I'm glad we got
>> rid of.
>
> Syntax is perfectly happy with "@media print<EOF>", it’s just an at-rule
> without a block (the ending semicolon is implied.) It’s at the Conditional
> Rule level that a block is expected for @media and this rule is deemed
> invalid.

Right, that's what I meant.

~TJ

Received on Sunday, 16 June 2013 07:45:16 UTC