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

On 06/11/2012 11:24 PM, Simon Sapin wrote:
> Le 12/06/2012 07:20, Liam R E Quin a écrit :
>> On Mon, 2012-06-11 at 21:40 -0700, Tab Atkins Jr. wrote:
>>> I don't see a real use-case for
>>> simply hiding an entire page,
>>
>> "print only odd pages" ?
>>
>> "do not show me (or print) pages that refer to the spaceships with only
>> one warp drive, since they do not apply to me" ??
>
> I don’t know if these are use cases we should address in CSS, but:
>
> If 'visibility' is consistent with what it does on elements, it would rather generate a page with nothing painted on it.

Yes, this would make sense for 'visibility: hidden'.

> Not generating the page at all would be more like 'display: none'. Note however that we might still need to do the layout for
> the whole page content, in order to know where the next page starts.

Although, maybe 'visibility: collapse' could be used suppress a page in the output,
similar to how it collapses table rows or flex items?

~fantasai

Received on Friday, 22 June 2012 22:34:46 UTC