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

[CSS21][17.5.3 Table height algorithms] Questions on height set on cell

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 18 Nov 2011 14:32:02 -0800
Message-ID: <b0a07a70e26ae32da4a31235b685ceef.squirrel@gtalbot.org>
To: "W3C www-style mailing list" <www-style@w3.org>
Hello,

"
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.
"
17.5.3 Table height algorithms
http://www.w3.org/TR/CSS21/tables.html#height-layout


I do not understand the above quoted sentences in light of the following
testpage.

In this testpage

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/height-cell-bc-separate.html

Firefox 7.0.1, Opera 11.52 and Konqueror 4.7.3 display no green. Is this
correct?

If 'border: 50px solid black;' is removed, then a 100px by 100px lime
square is rendered. Can you explain this?

regards, Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Friday, 18 November 2011 22:32:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT