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
http://www.w3.org/TR/CSS21/sample.html

So, when I convert this test

http://test.csswg.org/suites/css2.1/20110323/html4/vertical-align-applies-to-001.htm

to use HTML table elements only, then the test

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/vertical-align-applies-to-001a.html

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.

Gérard
[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
http://websvn.kde.org/trunk/KDE/kdelibs/khtml/css/html4.css?view=markup&pathrev=984569
[5] Opera DragonFly shows user agent stylesheet rules
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

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

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Monday, 27 February 2012 21:44:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 February 2012 21:44:54 GMT