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

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