W3C home > Mailing lists > Public > www-style@w3.org > September 2007

Re: [CSS3-page] Headers and Footers on Blank Pages

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 28 Sep 2007 09:20:39 -0400
Message-ID: <46FCFFA7.9050509@inkedblade.net>
To: Michael Day <mikeday@yeslogic.com>
CC: "Grant, Melinda" <melinda.grant@hp.com>, www-style@w3.org

Michael Day wrote:
> Hi fantasai,
>> A selector for blank pages generated by page breaks would take care
>> of this.
>>   @page :blank {
>>     visibility: hidden;
>>   }
> Prince supports the :blank page class selector, although I think we 
> would specify "content: none" rather than visibility.

That would work in the author style sheet, but not in the UA style sheet:
as soon as the author specifies something else for their margin boxes

   @page {
      @top-left { content: "My Header"; }

that has overridden the UA's 'content' rules on :blank. (The UA's rule
is more specific, but it is in a lower level of the cascade.)

But, if Prince already supports :blank, maybe we could add it to CSS3
Paged Media instead of CSS4 Paged Media.

Received on Friday, 28 September 2007 13:20:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC