- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Thu, 17 Nov 2011 17:15:56 -0800
- To: "Arron Eicholz" <arron.eicholz@microsoft.com>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron, [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/table-anonymous-block-011.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/table-anonymous-block-011.htm 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 box. 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: 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 Friday, 18 November 2011 01:16:31 UTC