W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2013

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 19 Apr 2013 17:35:16 -0400
Message-ID: <91d4bacc6659d73fdf114436ba6c9021.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
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

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