W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2012

[RC6] vertical-align does not apply to table-row-groups and table-row .. and does

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 27 Feb 2012 16:44:16 -0500
Message-ID: <1650226889485c02ccf1c26dd5940b5e.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS testsuite mailing list" <public-css-testsuite@w3.org>
Hello all,

By definition, vertical-align is not inherited and does not apply to
table row objects and table-row-groups (tbody, thead, tfoot) objects.

But, in practice, all user agents [1, 2, 3, 4, 5] apply it like this:

thead, tbody,
tfoot           { vertical-align: middle }

td, th, tr      { vertical-align: inherit }

which has been copied/comes from Appendix D

So, when I convert this test


to use HTML table elements only, then the test


fails in all browsers.

So I do not know what should be done here: for starters, the CSS 2.1
spec should most likely be updated here.

[1]: IE9 (presumed) user agent stylesheet http://www.iecss.com/
[2]: Gecko http://mxr.mozilla.org/mozilla/source/layout/style/html.css#208
[3]: Webkit html4.css or webkit's web inspector shows user agent
stylesheet rules
[4]: Konqueror html4.css
[5] Opera DragonFly shows user agent stylesheet rules
Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Monday, 27 February 2012 21:44:47 UTC

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