W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2012

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 3 Jul 2012 15:59:51 -0400
Message-ID: <d5c895ba0cdd46fc127c2729fd5ab6cb.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public css-testsuite mailing list" <public-css-testsuite@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2012 20:00:27 GMT