I looked at the following code

<table border style="height:300px">
  <tr>
   <td>
    <table border style="height:90%">
     <tr><td>foo</td></tr>
    </table>
   </td>
  </tr>
</table>

in strict mode. From my reading of the spec I would assume that the 
percentage height for the inner table computes to auto as the containing 
table cell is auto.

However we look trough and use the 300px from the table.

The CSS 2.1 spec tells explicitly that a table forms a containing block, 
what about the other table elements?
Does a table cell form a containing block? If not, why do we use then 
the height if specified on the table cell as the basis for the computation.

The really funny thing about this test case is that IE7 in quirks mode 
does what mozilla does but in standards mode makes the inner table auto 
height. Not that they are consistent with heights but thats SEP.

Bernd

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to