- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Thu, 27 Sep 2012 00:07:32 -0400
- 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/nightly-unstable/html4/block-formatting-contexts-010.htm
[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-formatting-contexts-010.htm
[RC6]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-formatting-contexts-012.htm
[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-formatting-contexts-012.htm
I have made several modifications to those 2 tests.
>From now on, when simple and basic tests involve 'display: inline-block'
(like many *-applies-to-012), I use the following minimal code:
span#block-formatting-context
{
display: inline-block;
}
span.block-descendant
{
display: block;
}
<div>
<span id="block-formatting-context">
<span class="block-descendant"></span>
<span class="block-descendant"></span>
</span>
</div>
Overall, it's also preferable with 2 *_non-empty_* block descendants.
Depending on what's needed to be tested with inline-blocks, I may be
resorting to
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/inline-block-minimal-code.html
or to
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/inline-block-minimal-code-2.html
What characterizes the best and the most inline-blocks is how they
vertically align with surrounding content.
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 Thursday, 27 September 2012 04:07:56 UTC