W3C home > Mailing lists > Public > www-style@w3.org > September 2001

display:table-cell and overflow:visible

From: Ilya Konstantinov <www-style@future.shiny.co.il>
Date: Tue, 11 Sep 2001 07:40:28 -0400 (EDT)
Message-ID: <20010911144135.A872@goblin.galanet.net>
To: www-style@w3.org
Hi,

Recently in the KHTML list, we had a discussion about table cell
elements and whether they should expand to contain the whole
overflowing content. For example:

<table><tr><td>
<div style="height:20px">
Here goes<br>some content<br>which is<br>higher than 20 pixels.
</div>
</td></tr></table>

Should the TD (basically, a display:table-cell element) expand to the
height of the whole content, or just to the required 20px, making the
rest of the text overflow the boundaries of the cell ?

Mozilla (Gecko) seems to expand to the height of the whole content,
but it defined no where in the CSS specs.

Is this really an undefined behavior and up to the browser?
Received on Tuesday, 11 September 2001 10:26:43 GMT

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