W3C home > Mailing lists > Public > www-style@w3.org > November 2012

[CSS2.1] 'height' set on cell questions

From: Gérard Talbot <www-style@gtalbot.org>
Date: Tue, 27 Nov 2012 20:27:31 -0500
Message-ID: <f9d9e96108b3426ff9c508ce83c00504.squirrel@ed-sh-cp3.entirelydigital.com>
To: "W3C www-style mailing list" <www-style@w3.org>




Firefox 17.0 and Firefox 20.0a1 (build 20121127) both display a 2in tall
black rectangle in all 3 tests.

IE8, Chrome 23.0.1271.91, Opera 12.11 and Konqueror 4.9.3 all display a
1in tall black square in all 3 tests.


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.
In CSS 2.1, the height of a cell box is the minimum height required by the
content. The table cell's 'height' property can influence the height of
the row (see above), but it does not increase the height of the cell box.
17.5.3 Table height algorithms

Here, the minimum height required by the cell content is 1.25em == 20px.
If heigth of cell is being set to 0.5in (48px), then why each cell do not
use only 48px?

Firefox requires 80.5px which is even more odd. I think Firefox is wrong
in these 3 tests.

What am I missing here?

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Wednesday, 28 November 2012 01:28:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:23 UTC