- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Mon, 20 May 2013 23:44:55 +0800
- To: www-style@w3.org
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: http://www.w3.org/TR/CSS21/page.html#page-box 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