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

[css3-page] What if @page {display:none;} ?

From: Yuzo Fujishima <yuzo@google.com>
Date: Tue, 22 Jun 2010 18:47:48 +0900
Message-ID: <AANLkTimcSVfwe8KF7WMbUpXR22GGfBKgjPdtX9E6moBO@mail.gmail.com>
To: www-style@w3.org
Hi,

What is the expected behavior when the display property of a page is none?
http://dev.w3.org/csswg/css3-page/#at-page-rule

Suppose we have the following rule:
@page {size:letter; margin:1in; padding:2in; border-width:0px;}
@page {display:none;}

What is the size of the page area in this case?
A. Is it equal to that of letter: 8.5 inch x 11 inch?
B. Or letter - padding: (8.5 - 2*2) inch x (11 - 2*2) inch?
C. Or letter - padding - margin - border: (8.5 - 2*2 - 1*2 - 0) inch x (11 -
2*2 - 1*2 - 0) inch?

Yuzo
Received on Tuesday, 22 June 2010 09:48:49 GMT

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