W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2011

[RC6] table-anonymous-block-011 is incorrect and/or can not fail

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 17 Nov 2011 17:15:56 -0800
Message-ID: <6f1dd6985d0987c4170c89233058fdce.squirrel@gtalbot.org>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>



As coded and designed, this test is incorrect and does not detect user
agents which will collapse top margins of caption and of table wrapper

If margin collapsing of top margins occurs, then the resulting vertical
gap will be 2em (max(2em, 2em)) and not zero: so there will be a gap in
case of margin collapsing.

And if margin collapsing occurs, the top position in normal flow of the
overlapping blue div#div2 will change, will move toward the top by a
distance of 2em. So, the whole table wrapper box moves toward the top by
2em and the blue overlapping div#div2 too: so, no red will be visible.

I've checked this several times and I'm sure this testcase does not
detect if margin collapsing of top margins of caption and table wrapper
box occurs or does not occur.

What the testcase should be trying to detect or to report or to do is
trying to measure such white-ish blank vertical gap above a painted
caption: if such vertical gap is 4em, then test passes; if such vertical
gap is 2em, then test fails.

regards, Gérard
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 Friday, 18 November 2011 01:16:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:55 UTC