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

Re: What's the use of visibility: collapse on table rows?

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 4 Feb 2000 13:54:51 -0500 (EST)
Message-Id: <200002041854.NAA28924@is02.fas.harvard.edu>
To: www-style@w3.org
On Fri, 4 Feb 2000 06:15:04 -0800 (PST),
=?iso-8859-1?q?Matthew=20Brealey?= (thelawnet@yahoo.com) wrote:
> Invisible rows:
> Given that visibility is inherited and therefore that TR {visibility:
> hidden} will hide its descendant table cells, why does the spec cite
> visibility: collapse as useful in the context of table rows?

'visibility: collapse' (unlike the other two values of visibility) can
change the layout of the document (it acts like something between
'display: none' and 'visibility: hidden').  A table row with
'visibility: collapse' doesn't leave a blank space, but one with
'visibility: hidden' does.


L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Friday, 4 February 2000 13:54:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC