W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css-variables] Variables in @page

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Fri, 1 Jun 2012 20:51:06 +0200
Message-ID: <CB1FD4D2351E4A24BB66CBB22C741A87@FREMYD2>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, "Simon Sapin" <simon.sapin@kozea.fr>
Cc: "CSS 3 W3C Group" <www-style@w3.org>
> > 1. Descriptors in @-rules can use variables defined on the root element.
> >
> > This matches the fact that @page inherits from the root element, except 
> > that
> > descriptors themselves are not properties and thus do not inherit.
>
> This is potentially reasonable, but I'm not sure how useful it is. 
> Use-cases?

Reusing global color constants is already an use case. Here's a list of 
properties that can be used on @page :



+ From: http://www.w3.org/TR/css3-page/#page-properties
+
+ The following properties can be used in the page context to style the 
appearance of the page box:
+     • size,
+     • background properties,
+     • border properties,
+     • margin properties, and
+     • padding properties.
+
+ These properties can be used in the page context to set counters:
+     • counter-reset, counter-increment,
+
+ These properties can be used in the page context to style the content of 
margin boxes:
+     • color,
+     • font properties,
+     • text properties 
Received on Friday, 1 June 2012 18:51:35 GMT

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