[RC6] clear-applies-to-013 is not ideal, needs work

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/clear-applies-to-013.htm

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

This test, as worded and as designed, is not ideal and may lead to false
positive. The pass/fail conditions sentence should be testing about the
relative position of the green square rather than its existence.

Actual is: "Test passes if there is a filled green square."

Correct is: "Test passes if there is a square below this text."

We want the sentence to be as short as possible because tests must pass
with a 640px viewport. If the sentence is long and if 'clear: both' is
*not* applied to table elements by an UA, then the green square will
line-wrap when viewed in a 640px (or so) viewport and such resulting
layout will be believed to be a successful implementation of 'clear:
both' when it would not be.

Right now, I have no proposal other than to change the sentence. There
may be other ways to make this test more trustworthy.


Also,


line 19     #table, #cell
            {
                height: 1in;
                width: 1in;
            }

is not necessary; sufficient is

line 19     #cell
            {
                height: 1in;
                width: 1in;
            }

Finally, there is the issue of testing table and clear when such table
has a non-empty caption box.

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, 3 July 2012 20:00:21 UTC