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

Re: [css3-page] Effect of 'visibility: hidden' on page boxes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 11 Jun 2012 21:40:53 -0700
Message-ID: <CAAWBYDBaS9C4V7hZkuS_DGYhL4FyhpdfTVZKNLB4uuW6hxL4ww@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>, MURAKAMI Shinyu <murakami@antenna.co.jp>, Michael Day <mikeday@yeslogic.com>, Simon Sapin <simon.sapin@kozea.fr>
On Mon, Jun 11, 2012 at 7:08 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> Right now the spec says that 'visibility' applies in the @page context.
> What should it do? Obviously, it should inherit into the margin boxes
> and make them invisible, but what effect should it have on the page
> box itself?
>
>  * Should it hide the page background (which covers the entire page,
>    including its margins)?
>  * Should it hide the page border?
>  * Should it hide the document canvas or content?
>
> My inclination atm is to make it not apply to the page box, and just
> let it inherit through into the margin boxes, but I wanted to hear
> what other people think.

That seems most reasonable to me.  I don't see a real use-case for
simply hiding an entire page, but turning on/off margins with a single
property set seems pretty useful.

~TJ
Received on Tuesday, 12 June 2012 04:41:43 GMT

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