[RC6] c5525-fltmult-000 imprecise and failed by several browsers

Hello,

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c5525-fltmult-000.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/c5525-fltmult-000.htm


While trying to make a reftest for c5525-fltmult-000, I noticed the
different renderings.

Firefox 9.0.1, Opera 11.61 render a gap of 20px between the blocks (at
the top) and the cross section (below).

Chrome 16.0.912.77, Konqueror 4.8.0 (and, IIRC, IE8) render a gap of
10px between the blocks and the cross section.

(Right here, the test is imprecise as the pass/fail condition sentence
never considered the gap between the blocks and cross section and it
creates the condition for false positives.)

In my opinion, Chrome 16.0.912.77 and Konqueror 4.8.0 are correct.


Firefox 9.0.1 does not collapse table margins with other block level
elements: eg
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/table-margin-004.htm
 (see bug 87277)

Opera 11.61 does not collapse margins of an element with clear set to a
value other than 'none' with its descendants' margins (when or if other
conditions are gathered and honored). I've checked carefully the spec
and nothing says the element with clear set should not collapse with its
own descendants (when or if other conditions are gathered and honored).

I have 3 testcases supporting all this:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/clear-with-child-margin-1.html
 (simple)

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/clear-with-child-margin-2.html
 (with table)

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/clear-with-child-margin-3.html
(nested descendants)

Eventually, those will be renamed (probably  margin-collapse-039, 040
and 041), with design redone (to be a 200x200 green overlapping a
200x200 red) and updated and submitted to test suite.


I also searched the tests submitted and the closest I found was

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-collapse-157.htm
(which Chrome and Konqueror pass; and which Firefox and Opera fail).

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 Tuesday, 31 January 2012 00:04:23 UTC