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

On Mon, May 20, 2013 at 8:28 AM, François REMY
<francois.remy.dev@outlook.com> wrote:
>>>> @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.

That's good advice for authors in the transition period as we support
our first one, but there's no good reason to mandate it forever.
Syntax isn't frozen, just slushy.  ^_^

~TJ

Received on Monday, 20 May 2013 17:07:11 UTC