W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2010

Re: Tests with difficult/confusing pass condition/wording: background-root-020.htm and tables-001.htm

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 11 Sep 2010 05:03:58 -0700
Message-ID: <ab6b2abfb6a85042bcb0226613d2abc9.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Řyvind Stenhaug" <oyvinds@opera.com>

> Hi,
>
> the following lists a number of tests that were found to be confusing
> with
> regard to determining a test result.


> ==== Ian Hickson ====
>
> http://test.csswg.org/suites/css2.1/20100815/html4/background-root-020.htm
> There are no "links below". Also, the last two sentences should be
> rewritten to not require an understanding of the specification

Řyvind,

I have examined that background-root-020.htm testcase and will approve
it: it's a correct testcase (amply discussed in bug 15405 and elsewhere
at bugzilla.mozilla.org). But it needs work and adjustments (<meta>s,
link rel=help, acceptable and understandable expected results, tunings,
etc). I will suggest a replacement based on it.

Right now, I have no precise idea how the
"THE ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT!"
can be translated into a test condition that "Your
mother/husband/roommate/brother/bus driver" would understand.
The original testcase really wanted this condition to be part of the test.

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

> http://test.csswg.org/suites/css2.1/20100815/html4/tables-001.htm
> This test could use a description/an explicit pass condition

I spent quite a bit of time examining the spec and that testcase. It's a
correct testcase and I will approve it. But it needs work and
adjustments: <meta>, better <link rel="help">s, a new title and
acceptable text as expected results.

That tables-001.htm test is not just about anonymous table objects
(17.2.1 Anonymous table objects
http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes )  but also about
how border-spacing is implemented in (border-collapse: separate) tables
that have only 1 single cell.

"The distance between the table border and the borders of the cells on
the edge of the table is the table's padding for that side, plus the
relevant border spacing distance. For example, on the right hand side,
the distance is padding-right + horizontal border-spacing. "
17.6.1 The separated borders model
http://www.w3.org/TR/CSS21/tables.html#separated-borders

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Saturday, 11 September 2010 12:04:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT