W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2012

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 30 Jan 2012 19:03:39 -0500
Message-ID: <e63b486126dbeca2d162a2f5c781257b.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 January 2012 00:04:35 GMT