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

Re: [CSS21] visibility: collapse on non-table elements

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Feb 2008 03:03:22 -0800
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <20080214110322.GA18476@ridley.dbaron.org>

On Thursday 2008-02-14 02:03 -0800, fantasai wrote:
> Specifically, block-level elements with "visibility: collapse" should behave as
> if their box was zero height with zero vertical padding, border width, and margins,
> and inline-level elements with "visibility: collapse" should behave as if their
> box was zero width with zero horizontal padding, border width, and margins.
> Furthermore all descendants of a non-internal-table-element with "visibility:
> collapse"--including descendants that are anonymous boxes--are also treated as
> if they had "visibility: collapse".

Is there a compelling use case for this?  Do authors want it for
some reason?  It's a good bit of work to implement, and it's not
worth doing that work just to make the property semantics more
aesthetically pleasing to spec designers.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 14 February 2008 11:03:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT