W3C home > Mailing lists > Public > www-style@w3.org > December 2010

[CSS21] @page selector grammar

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 09 Dec 2010 13:13:28 -0800
Message-ID: <4D014678.4050905@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
I was reviewing the page-grammar-001 test, and noticed that there's no normative
grammar for the @page rule. The test refers to Appendix G, and asserts that
white space between @page and a selector is optional; however this is nowhere
stated in the spec.

Proposed to add after

   # An @page rule consists of the keyword "@page", followed by an optional
   # page selector, followed by a block containing declarations and at-rules.

the following:

   | Comments and white space are allowed, but optional, between the @page
   | token and the page selector and between the page selector and the block.

~fantasai
Received on Thursday, 9 December 2010 21:14:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT