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

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

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 20 May 2013 17:28:25 +0200
Message-ID: <DUB120-W20A741FB2AACA3848549FEA5AF0@phx.gbl>
To: Simon Sapin <simon.sapin@exyr.org>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
>>> @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. 		 	   		  
Received on Monday, 20 May 2013 15:28:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC