Re: block-formatting-contexts-010

Le Lun 17 octobre 2011 19:04, Alan Stearns a écrit :
> I'm writing a css3-regions test to validate that a region creates a new
> block formatting context. So I've looked at existing tests in the css2.1
> testsuite. But I'm confused about block-formatting-contexts-010.xht


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-formatting-contexts-010.htm


[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-formatting-contexts-010.htm



and
> some
> of its siblings.


[RC6] section 9.4.1 Block formatting contexts testcases
http://test.csswg.org/suites/css2.1/20110323/html4/chapter-9.html#s9.4.1


[nightly-unstable] section 9.4.1 Block formatting contexts testcases
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/chapter-9.html#s9.4.1



> The test asserts that "Elements defined as inline-blocks establish a new
> block formatting context." But the test renders the same if I remove the
> display:inline-block line.

Good observation!

> Does this test actually check its assertion?

I'd say no.


I will propose the following as a correction for such test:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/block-formatting-contexts-010.html


regards, 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 Monday, 17 October 2011 23:44:22 UTC