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

[css2] visibility:collapse on <tr>

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Tue, 26 Feb 2013 19:12:02 -0800
Message-ID: <CALRQH7-fEkR3iWFnrMm3w5Ua9M9nn8m_m_X1YFwxzXW8FU0SRQ@mail.gmail.com>
To: www-style@w3.org
Please check this example:
http://www.terrainformatica.com/w3/row-collapse.htm

It contains collapsed row that crosses row-spanned cell.
Ideally that example should be rendered this way:
http://www.terrainformatica.com/w3/row-collapse.png

but WebKit and Gecko show different results:
- WebKit - visibility:collapse there is treated just as visibility:hidden (?)
- Gecko - wrong (?) vertical alignment in spanned cell.

visibility: collapse is described here:
http://www.w3.org/TR/CSS2/tables.html#dynamic-effects

"Contents of spanned rows and columns that intersect the collapsed
column or row are clipped. The suppression of the row or column, however,
does not otherwise affect the layout of the table."

But I am not sure is this definition applies to content alignment?

Technically speaking content in last cell is not clipped - it fits inside
that cell box pretty comfortably. So is my question.


-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Wednesday, 27 February 2013 03:12:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT