This is a development version of the CSS 2.1 Test Suite.
It contains unreviewed tests and is likely to contain incorrect tests. Please check the latest version of the CSS2.1 specification and the errata list before assuming a failure is due to an implementation bug and not a test suite bug.
In time we hope to correct all errors and extend this test suite to cover all of CSS2.1. Your help is welcome in this effort. The appropriate mailing list for submitting tests and bug reports is public-css-testsuite@w3.org. More information on the contribution process and test guidelines is available on the wiki page.
Tests are currently available in three formats:
application/xhtml+xml
text/html
Note that many of the tests require the Ahem font to be installed. The tests that require this are marked with an 'a' at the end of the filename, after the test type classification. Without the Ahem font installed, these tests are of no value.
Most of the test suite makes the following assumptions:
div
element is assigned display: block;
and no other property declaration.span
element is assigned display: inline;
and no other property declaration.p
element is assigned display: block;
li
element is assigned display: list-item;
table
, tbody
,
tr
, and td
are assigned the display
values table
, table-row-group
,
table-row
, and table-cell
, respectively.black
, white
, gray
,
silver
, red
, green
, blue
,
purple
, yellow
, orange
, teal
,
fuchsia
, maroon
, navy
, aqua
,
and lime
as distinct colors.In addition, some of the tests make one or more of the following assumptions:
The tests that need these assumptions to be true have not yet been marked, but it is likely that we will add a way to identify these tests in due course.
This test suite is licensed under both the W3C Test Suite License and the W3C 3-clause BSD License. See W3C Legal's explanation of the licenses.
Many thanks to the following for their contributions:
...and all the contributors to the CSS1 test suite.