Languages

Cascading Style Sheets Official W3C Test Suites

Interoperability

“Interoperability is the ability of two or more systems or components to exchange information and to use the information that has been exchanged.” — IEEE

Help wanted

Interoperability is important to web designers. Better interoperability among CSS implementations means designers can write their CSS for one browser and see that it works predictably well on the other browsers. It means reducing the incompatibilities in the way CSS implementations interpret CSS.

Good test suites drive interoperability. They are a key part of making sure web standards are implemented correctly and consistently. More tests encourage more interoperability. Wrong tests drive interoperability on wrong behavior.

CSS needs good test suites! The W3C hosts the official test suites for the CSS Specifications here. Most of these test suites are still works in progress: they're incomplete and may contain errors. You can help us drive CSS interoperability on the Web by reporting errors and contributing test cases. Send questions, comments, error reports, and test submissions to the public-css-testsuite mailing list.

Status

The table below lists the available test suites: the latest version, other versions, the next version under development, and the latest test report.

Latest De­vel­op­ment
Modules Current Test Suite Report Other Versions Unstable Report
Media Queries Beta Dated Snapshots
Selectors Release Candidate Dated Snapshots
CSS 2.1 Current Report Dated Snapshots1) Nightly Report
CSS Basic UI Level 3 None None
CSS Color Level 3 Beta Dated Snapshots Nightly Report
CSS Namespaces Level 3 Release Candidate Dated Snapshots
CSS Paged Media Level 3 Pre-Alpha Dated Snapshots
CSS Marquee Level 3 None None
CSS Multi-column Layout None None Nightly Report
Profiles Current Test Suite Other Versions De­vel­op­ment Report
CSS Mobile Profile 1.0 Alpha? Dated Snapshots
CSS Print Profile 1.0 Pre-Alpha Dated Snapshots
CSS TV Profile 1.0 None None
Other Current Test Suite Other Versions De­vel­op­ment Report
CSS Level 1 Obsolete Dated Snapshots

1) The version used for the CSS 2.1 Proposed Recommendation is the Test Suite of 23 March 2011 and corresponding implementation report.

About the Test Suites

Release phase definitions:

Final
Test suite is complete with no known or suspected bugs. At least two implementations pass, and the specification has reached Recommendation status.
Release Candidate
Test suite is complete with no known or suspected bugs. At least one implementation passes almost all tests.
Beta
Test suite has complete coverage of the spec. It may have some bugs but is expected to be mostly reliable. At least one implementation passes a majority of the tests.
Alpha
Test suite has complete if not thorough coverage of the spec, but is expected to require some revision.
Pre-Alpha
Test suite is incomplete and/or known to contain bugs at time of publication.
Obsolete
Test suite may or may not be complete, but is no longer maintained and is known to contain bugs or is otherwise not recommended for conformance testing.

Licensing

Unless otherwise stated, all test suites are licensed under both the W3C Test Suite License and the 3-clause BSD License. See W3C Legal's explanation of the licenses.

Contributions to these test suites are governed by the W3C's Policies for Contribution of Testcases to W3C. Contributors who are not members of the CSS Working Group must agree to the terms of Grant II.

Format

The CSS working group developed a common format for test suites in 2001/2002. It is described in the official CSS test suite documentation. If you want to contribute tests, we advise you to read the authoring guidelines.. More information about contributing to the test suite is available on the wiki.

Archives and Organization

Test suites are occasionally updated, but old versions remain on-line. If you link to a test suite, you can choose whether to link to a specific, dated version or to the dynamic "current" version.

The URLs of tests for CSS3 modules are of the form:

.../CSS3/MODULE/current
.../CSS3/MODULE/YYYYMMDD

where MODULE is the (capitalized) module name, e.g., "Selectors", and YYYYMMDD is a date, e.g., "20011105". The "current" link always redirects to the most recent dated test suite.

The URLs of tests for profiles are of the form:

.../PROFILE/VERSION/current
.../PROFILE/VERSION/YYYYMMDD

where PROFILE is the name of a CSS profile, e.g., "Mobile" and VERSION is a version number, e.g., "1.0".

Bert Bos, style activity lead
Copyright © 1994-2011 W3C®
<<<<<<< Overview.en.html <<<<<<< Overview.en.html <<<<<<< Overview.en.html <<<<<<< Overview.en.html

Created 13 November 2001. Last updated 25 January 2011 =======

Created 13 November 2001. Last updated 26 January 2011 >>>>>>> 1.22 =======

Created 13 November 2001. Last updated 19 April 2011 >>>>>>> 1.27 =======

Created 13 November 2001. Last updated 4 May 2011 =======

Created 13 November 2001. Last updated Tue 04 Oct 2011 06:20:42 AM CEST >>>>>>> 1.83

Languages

Azərbaycan беларуская Български Česky Dansk Deutsch Ελληνικά English Español Galego हिन्दी հայերեն Bahasa Indonesia Italiano 日本語 Latviešu Македонски नेपाली Polski Română Русский Türkmen Українська O'zbek Tiếng Việt 简体中文 繁體中文

About the translations >>>>>>> 1.30