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

Re: [css3-page][css3-mediaqueries] Changing element styles on page breaks

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 24 Feb 2012 09:12:15 -0800
Cc: www-style list <www-style@w3.org>
Message-Id: <7A06F6D3-2DA9-4F0D-A11D-C95DB7F05EB5@gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>

On Feb 24, 2012, at 6:52 AM, Simon Sapin wrote:

> Le 21/02/2012 17:20, Brad Kemper a écrit :
>> If styling the page box meant typing ':page { color:green; }'
>> instead of just 'color:green;' by itself, it need not have an effect
>> on the way margin boxes inherit. Counter-increment could likewise go
>> inside ruleset braces  with a ':page' selector, without any adverse
>> effect.
> 
> Are you suggesting to change the syntax for declarations in @page?

I was.

> The
> current syntax being eg. @page { margin: 2cm }
> 
> This syntax is already in CSS 2.1 so I don’t think we can change it.

Ah, I didn't realize that, because I never needed to use that version of @page. OK, I withdraw that part of the proposal then. See this instead, for using an unnamed @slot instead:

http://lists.w3.org/Archives/Public/www-style/2012Feb/1259.html

> 2.1
> even defines that @page can contain both declarations and at-rules
> (although no such at-rule is defined in that level) but nothing else.
Received on Friday, 24 February 2012 17:12:46 GMT

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