[RC6] margin-top-applies-to-015 and margin-bottom-applies-to-015 tests imprecise

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/margin-bottom-applies-to-015.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-bottom-applies-to-015.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/margin-top-applies-to-015.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-top-applies-to-015.htm

Those 2 tests are at worse incorrect otherwise at best imprecise. Since
"
The caption boxes are block-level boxes that retain their own content,
padding, margin, and border areas, and are rendered as normal block
boxes inside the table wrapper box.
"
http://www.w3.org/TR/CSS21/tables.html#model

then there is no need for a #wrapper box. These tests should be trying
to test, verify the existence of space (a gap) between the table box and
the caption box. Just like in the diagram of section 17.4 for a
'caption-side: top' caption box.

I will be updating these tests this week, along with many other
*-applies-to-* tests.

Draft tests for now:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/margin-bottom-applies-to-015a-GT.xht

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/margin-top-applies-to-015a-GT.xht

-------------

Addendum: at the same time, I must also do or redo a reftest for

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-bottom-applies-to-012.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-bottom-applies-to-013.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-bottom-applies-to-014.htm

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 Monday, 10 December 2012 22:43:31 UTC