[RC6] clear-applies-to-001 to 015: several modifications

Arron,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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


I have made many changes to those tests.

First, if clear does apply, then I explicitly indicate that the green
square should appear *below the text*: this was not indicated in tests
009 and 010.

Second, if clear does *not* apply and if the pass/fail test conditions
sentence is moderately long and document viewport is 640px wide or is
600px (like it has been discussed for automated screenshots comparison),
then it is very likely that the green square would appear below and not
on the right of the sentence (therefore a false negative). Therefore, I
set the width of the <p> to be 320px.

Third, if clear does not apply, then toggling on and off the display
property value should show the green square below the sentence since the
display property would use the default display value for <div>. That was
not the case for a majority of tests.
E.g. Load
http://test.csswg.org/suites/css2.1/20110323/html4/clear-applies-to-001.htm
and then remove 'display: table-row-group' in the test and the green
square will still remain on the right even though the display value is
block, as given by the user agent stylesheet. So, those tests were, at
best, definitely not convincing, otherwise, at worse, they were
unreliable.

Fourth, many table-related tests now use 2 rows and 2 non-emtpy cells
per row. The inline-block test (012) has 2 block descendants.

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

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


I have asked in www-style
Re: [CSS21] Does 'clear' apply to caption box? (corrected link)
http://lists.w3.org/Archives/Public/www-style/2012Dec/0218.html
for opinions on this test
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/clear-applies-to-caption-boxes.html
because I believe the original clear-applies-to-015.htm test is wrong.

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 Saturday, 15 December 2012 03:18:23 UTC