-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
Description
The minutes from 2016-10-12 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.
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.