This is a Development version of the CSS Color Module Level 4 CR Test Suite.
You can provide test data or review the testing results for this test suite:
Some tests in the test suite may contain errors. Please check the latest version of the CSS Color 4 specification and its errata 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 CSS Color 4. Your help is welcome in this effort. The appropriate mailing list for submitting tests and bug reports is firstname.lastname@example.org.
To report bugs or feedback about a specific test file, search for the filename (without extension) in web-platform-tests issues, and file a new issue if necessary with suggested label "wg-css". More information on the contribution process and test guidelines is available on the wiki page.
Tests are currently available in these formats:
Unless the test instructions explicitly indicate otherwise, any occurrence of red in a test indicates test failure.
An implementation report template is available to help with creating implementation reports. See also the explanation of its format.
Most of the test suite makes the following assumptions:
divelement is assigned
display: block;and no other property declaration.
spanelement is assigned
display: inline;and no other property declaration.
pelement is assigned
lielement is assigned
tdare assigned the
limeas 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. Tests should avoid relying on these assumptions unless necessary.
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: