CSS2.1 Conformance Test Suite

This is a rc version of the CSS2.1 Test Suite.

This build exists to aid in test suite development and contains unreviewed tests. The pass/fail results of these tests are not reliable indications of conformance. 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.

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:

XHTML 1.1
XHTML 1.1 tests sent as application/xhtml+xml
HTML 4.01
HTML 4.01 tests sent as text/html
XHTML 1.1 for Printers
XHTML 1.1 tests with all images converted from PNG to JPEG and formatted with headers and footers to ease testing of embedded printer software. This is not a canonical format, and some tests may fail due to the format conversion that would otherwise pass in the above XHTML 1.1 format.

Additional tests, that do not fit in any of those formats, are located separately:

Other Formats
Tests that do not fit in the above formats because they test a combination of CSS and a particular document language's features and/or error recovery.

Note that many of the tests require the Ahem font to be installed. These tests are marked with the 'ahem' flag in their metadata. Without the Ahem font installed, these tests are of no value.

Some of the font-related tests also require special fonts. These tests are marked with the 'font' flag in their metadata.

Implementation Reports

An implementation report template is available to help with creating implementation reports. See also the explanation of its format.

Common Assumptions

Most of the test suite makes the following assumptions:

Uncommon Assumptions

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. Tests should avoid relying on these assumptions unless necessary.

License

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.

Acknowledgements

Many thanks to the following for their contributions:

...and all the contributors to the CSS1 test suite.