display:table-cell and overflow:visible

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 UTC