- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Oct 2016 06:10:53 +0000
- To: public-css-archive@w3.org
SebastianZ has just created a new issue for
https://github.com/w3c/csswg-drafts:
== [css-page-3] Replace CSS 2.1 syntax definitions by CSS syntax ==
The [minutes from
2016-10-12](https://lists.w3.org/Archives/Public/www-style/2016Oct/0091.html)
resolved on removing the CSS grammar section from CSS 2.2 and instead
refer to the CSS Syntax module. Though the CSS Paged Media Module
still [uses that grammar for the definition of the @page
rule](https://drafts.csswg.org/css-page-3/#syntax-page-selector).
This syntax should be replaced by something like this*:
```
@page <page-selector-list> { <page-body> }
where
<page-selector-list> = [ <page-selector># ]?
<page-body> = <declaration>? [ ; <page-body> ]? | <page-margin-box>
<page-body>
<page-selector> = <pseudo-page>+ | <ident> <pseudo-page>*
<page-margin-box> = <page-margin-box-type> { <declaration-list> }
<pseudo-page> = : [ left | right | first | blank ]
<page-margin-box-type> = @top-left-corner | @top-left | @top-center |
@top-right | @top-right-corner | @bottom-left-corner | @bottom-left |
@bottom-center | @bottom-right | @bottom-right-corner | @left-top |
@left-middle | @left-bottom | @right-top | @right-middle |
@right-bottom
```
Sebastian
* For reference, I used that [syntax definition for @page on
MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/@page#Formal_syntax).
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/632 using your GitHub
account
Received on Friday, 21 October 2016 06:11:00 UTC