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>



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
 (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:


 (with table)

(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

(which Chrome and Konqueror pass; and which Firefox and Opera fail).

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Tuesday, 31 January 2012 00:04:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:23 UTC