Re: [css-syntax] At-rules mixed in any declaration list?

Le 20/05/2013 23:28, François REMY a écrit :
>>>> @page {
>>>> @margin-note { /* not supported */ }
>>>> background: green;
>>>> }
>> My point is that even we don’t define any such at-rule yet, this does
>> make a detectable difference in error handling. It was important that
>> CSS 2.1 defined @page that way, for example.
> Not necessarily. We could force at-rules to come after all the
> declarations OR be followed by a semi-colon.

CSS 2.1 does define @page that way, this is just a fact:

Forcing at-rules to be at the end or have a semi-colon would have also 
worked, but I think is an unnecessary restriction.

Simon Sapin

Received on Monday, 20 May 2013 15:45:26 UTC