[RC6] abspos-010 test: 5 new margin-collapse-012 tests

Hello,

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

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

If you examine this test with various browsers, you'll notice a
difference of rendering (height of green area):

Opera 12.02, Chrome 21.0.1180.89, Safari 5.1.7, Konqueror 4.9.0 all
render a 48px wide by 48px tall green square.

Firefox 15.0 and IE8 render a 48px wide by 64px tall green rectangle.

The difference is due to how vertical margins are supposed to be
rendered: the 2em margin-top of the abs. pos. table (.fixed) should
*not* collapse with margin-bottom of <p>. So, Firefox 15.0 and IE8 are
correct.

So, I revisited

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/margin-collapse-012.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-collapse-012.htm

and noticed that a few more tests could be submitted to better cover
possibilities:

With margin-bottom:
http://test.csswg.org/source/contributors/gtalbot/submitted/margin-collapse-012a.xht

With a collapsed-through element:
http://test.csswg.org/source/contributors/gtalbot/submitted/margin-collapse-012b.xht

With with margin-top (with an abs. pos. table):
http://test.csswg.org/source/contributors/gtalbot/submitted/margin-collapse-012c.xht

With margin-bottom (with an abs. pos. table):
http://test.csswg.org/source/contributors/gtalbot/submitted/margin-collapse-012d.xht

With a collapsed-through element (with an abs. pos. table):
http://test.csswg.org/source/contributors/gtalbot/submitted/margin-collapse-012e.xht


abspos-010 test seems wrong too because table-layout: fixed does not
apply if (at minimum) width of table is not specified... and the test
uses a table that has 1 single row which has 1 single cell..

Right now, I think this test is not good, not trustworthy because it
does not achieve the original goal/intent of the test. Such test, as
designed, does not demonstrate the goal of the test.

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, 10 September 2012 01:20:52 UTC