2.1.112 [CSS-Level2-2009] Section 17.5.3, Table height algorithms

V0167:

The specification states:

 The baseline of a cell is the baseline of the first in-flow line box in the cell, 
 or the first in-flow table-row in the cell, whichever comes first. If there is no 
 such line box or table-row, the baseline is the bottom of content edge of the cell 
 box. For the purposes of finding a baseline, in-flow boxes with a scrolling 
 mechanisms (see the 'overflow' property) must be considered as if scrolled to their 
 origin position. Note that the baseline of a cell may end up below its bottom 
 border, see the example below.

Quirks Mode and IE7 Mode (All Versions)

The baseline of a cell with an in-flow table is the bottom of that table's bottom border, rather than the table's first table-row.

V0277:

The specification states:

 The height of a table is given by the 'height' property for the 'table' or 'inline-
 table' element. A value of 'auto' means that the height is the sum of the row 
 heights plus any cell spacing or borders. Any other value is treated as a minimum 
 height. CSS 2.1 does not define how extra space is distributed when the 'height' 
 property causes the table to be taller than it otherwise would be. Note. Future 
 updates of CSS may specify this further.

Quirks Mode and IE7 Mode (All Versions)

The border-spacing property is not supported, so if the table includes border spacing, the height is not incorporated into the table height. Borders are spaced 1px apart.

Show: