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

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

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Wed, 22 Mar 2000 17:11:38 +0000 (GMT)
To: Matthew Brealey <webmaster@richinstyle.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10003221709050.21946-100000@mary.bath.ac.uk>
On Wed, 22 Mar 2000, Matthew Brealey wrote:
> Ian Hickson wrote:
>> My reading of this is that 'collapse' will actually have the same
>> effect as 'display:none', whereas 'hidden' will leave a blank area
>> where the row would have been.
> Possibly; however, I don't see how treating it as display: none is
> consistent with 'This allows dynamic effects to remove table rows or
> columns without forcing a re-layout of the table in order to account
> for the potential change in column constraints.', since if the row
> is being display: noned, then the table must be reflowed.

It doesn't _have_ to be reflowed, it can just be redrawn without that
row. "Reflow" means that the table cell sizes must be recalculated.
Presumably when hiding cells with "visibility: hidden", the cell sizes
remain the same.

Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Wednesday, 22 March 2000 12:11:48 UTC

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