W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

[RC3] table-height-algorithm-005 is invalid

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 27 Oct 2010 22:18:32 -0700
Message-ID: <cf63aea21bdd58bb2a651d0f92088b4e.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>



If a percentage height on a cell computes to auto, then both cells will
use minimum content height, which is 20px each. The extra height
remaining (2em) from the table can be all distributed in the first row
or all in the 2nd row or split equally in both. There is no normative
requirement on how to distribute the remaining height.

17.5.3 Table height algorithms

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.

So, it is not reasonable to assume that the 2nd row will get all of the
extra 2em.

The pass condition states that blue and black boxes are *NOT* the same
height. (I think some people may have missed the "not" in the sentence.)

FWIW, Mozilla IR (using Firefox 4.0b6) indicates that it passed this
test; over here, using Firefox 3.6.11, the black stripe and the blue
stripe have the same height (32px).

In Chrome 7.0.517.41, the black stripe and the blue stripe have the same
height (32px) while the IR for Chrome 6 indicated that it passed such

Am I missing something here?

I suspect that the same conclusion should apply to
as well.

regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC3; October 27th 2010):

CSS 2.1 test suite contributors:
Received on Thursday, 28 October 2010 05:19:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC