[RC6] block-formatting-contexts-010 and 012: now with modifications

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