Bug 276491: padding-bottom of inline element in table cell can overflow outside table box

Actual (live) result in your browser:

Sample text

 

 

Expected results:

Image download support must be enabled


CSS 2.1, section 17.5.3 Table height algorithms states

The height of a 'table-row' element's box is calculated once the user agent has all the cells in the row available: it is the maximum of the row's computed 'height', the computed 'height' of each cell in the row, and the minimum height (MIN) required by the cells. A 'height' value of 'auto' for a 'table-row' means the row height used for layout is MIN. MIN depends on cell box heights and cell box alignment (much like the calculation of a line box height). (...)

In CSS 2.1, the height of a cell box is the minimum height required by the content.

The baseline of a cell is the baseline of the first in-flow line box in the cell (...)


Firefox 6.0.2, Opera 11.51, Chrome 14.0.835.186, IE8 and Safari 5.1 pass this test.

Konqueror 4.7.0 fails this test.

Valid HTML 4.01! CSS compliant