[RC6] [nightly-unstable] vertical-align-applies-to-012 and vertical-align-applies-to-014: vertical-align applies to inline-block and inline-table elements

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/vertical-align-applies-to-012.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/vertical-align-applies-to-012.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/vertical-align-applies-to-014.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/vertical-align-applies-to-014.htm

"
 'vertical-align'
    Value:  	baseline | sub | super | top | text-top | middle | bottom |
text-bottom | <percentage> | <length> | inherit
    Initial:  	baseline
    Applies to:  	inline-level and 'table-cell' elements

(...)
This ['vertical-align'] property affects the vertical positioning inside
a line box of the boxes generated by an inline-level element.
"
coming from
http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align


Even though current vertical-align-applies-to-012 and
vertical-align-applies-to-014 may be correct in their current forms,
their assert texts are not correct and their current forms are
misleading. The issue with those tests is that they are not truly
testing what normal, genuine inline-blocks and inline-tables are by
default and by definition.

Tests on inline-blocks should be using this kind of markup structure and
CSS rules:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/inline-block-minimal-code-2.html

Ideally, at minimum, any/every table or inline-table should have 2 rows
and 2 cells per row.

--------

Interactive tests on vertical-align versus inline-block and inline-table:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/vertical-align-values-inline-block-dhtml.html

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/vertical-align-values-inline-table-dhtml.html

Except for Opera 12.15 (for inline-table versus vertical-align: bottom),
these tests are passed by Firefox 20.0, Opera 12.15, Chrome
26.0.1410.63.

Gérard
-- 
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 Friday, 19 April 2013 21:35:49 UTC