- From: Alan Gresley <alan@css-class.com>
- Date: Tue, 18 Oct 2011 22:33:41 +1100
- To: css21testsuite@gtalbot.org
- CC: Alan Stearns <stearns@adobe.com>, Public CSS test suite mailing list <public-css-testsuite@w3.org>
On 18/10/2011 10:43 AM, "Gérard Talbot" wrote: > > 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 Gérard, that test is not testing a 'block formatting context'. The inline-block element has to have children that are block-level elements. Something more like this. http://css-class.com/test/css21testsuite/block-formatting-contexts-010.xht -- Alan Gresley http://css-3d.org/ http://css-class.com/
Received on Tuesday, 18 October 2011 11:34:16 UTC