Skip to content


Subversion checkout URL

You can clone with
Download ZIP
CSS WG test repository (mirrored at
HTML JavaScript Perl CSS PostScript Python
Branch: master

Merge pull request #834 from tschneidereit/fix-domrect-ctor-tests

Bug 29090 - Fix DOMRect constructor tests
latest commit 1284adb016
@zcorpan zcorpan authored
Failed to load latest commit information.
compositing-1 move support files so they have proper src paths after the build
css-align-3 move files from ttwf_tokyo PRs into proper subdirectory
css-animations-1 update draft spec urls from to
css-backgrounds-3 Replace broken smart quotes with apostrophes.
css-box-3 Corrected linked spec to point to css3-box.
css-break-3 mv src/* to the root of the spec dir - pt 15 of 19
css-color-3 Use HTML5 rewrite xht file
css-color-4 Correct the reference links for css-color-4 tests and remove them fro…
css-conditional-3 update metadata
css-counter-styles-3/i18n improvements to existing tests
css-exclusions-1 mv src/* to the root of the spec dir - pt 15 of 19
css-flexbox-1 update draft spec urls from to
css-fonts-3 Fixing URI of linked specification help;
css-gcpm-3 merge
css-grid-1 update draft spec urls from to
css-images-3 fix spec links
css-lists-3 mv src/* to the root of the spec dir - pt 16 of 19
css-masking-1 Merge pull request #620 from dirkschulze/clip-path-polygon
css-multicol-1 Removing ref-filled-green-100px-square.xht
css-namespaces-1 fixed namespaces links again
css-page-3 move tests from css-page to css-images
css-pseudo-4 update draft spec urls from to
css-regions-1 Remove prefixed properties.
css-ruby-1 [css-ruby-1] Use versioned URL for the spec link
css-shapes-1 [css-shapes-1] Strip more CRs
css-speech-1 mv src/* to the root of the spec dir - pt 17 of 19
css-style-attr-1 Merge pull request #603 from chenxix/chenxix/csswg-test/style-attr
css-syntax-3/charset mv src/* to the root of the spec dir - pt 17 of 19
css-tables-3 move additional tables tests to the correct new location
css-text-3 update draft spec urls from to
css-text-decor-3 Remove useless reference file.
css-transforms-1 update draft spec urls from to
css-transitions-1 update draft spec urls from to
css-transitions-2 [css-transitions-2] Test that transitioncancel is fired if element is…
css-ui-3 update draft spec urls from to
css-values-3 update draft spec urls from to
css-variables-1 fixed build errors - a whole bunch of spec links & ref file links
css-writing-modes-3 [css-writing-modes-3] Fix bidi-normal-011 typo in the URL of the refe…
css1 post refactor cleanup: fix support links in css21 suite
css21 Update border color tests for 4 digit hex color values.
cssom-1 update draft spec urls from to
cssom-view-1 update draft spec urls from to
filters-1 fixed spec links for filters + some misc others
fonts CSS Orientation Test OpenType Fonts Open @ Adobe
geometry-1 Bug 29090 - Fix DOMRect constructor tests
mediaqueries-3 update draft spec urls from to
resources @ bb9b405 removed testharness.js files
selectors-3 move i18n readme to the correct new location
selectors-4 update draft spec urls from to
support [css3-ui] Adding 2 tests for the cursor property's effects on the canvas
tools [css-writing-modes-3] Cleanup and README for tools/generators
vendor-imports/mozilla/mozilla-central-reftests update draft spec urls from to
work-in-progress update draft spec urls from to
.gitignore update ignore files
.gitmodules Fixed url
.hgignore update ignore files
.hgsub switch to new build script
.hgsubstate update w3ctestlib, fix chapter sorting in generated index pages
.htaccess update .htaccess for README filename change ported Contributing Guidlines with CLA from w3c/web-platform-tests#261
LICENSE adding license file, same as… update draft spec urls from to

W3C CSS Test Suite Repository

This repository contains top level directories for all of CSS specs for which we currently have tests. Place tests in the appropriate directory based on the first rel="help" link in the test. If you are writing tests for a spec and it doesn't yet have a directory here, feel free to create it.

There are a few directories that do not map to specifications:

support/ contains common image files to which many of the tests link in this location

tools/ is random scripts that may be useful when administering tests.

vendor-imports/ is where third parties may import their tests that originate and are maintained in an external repo. Files in this directory should never be modified in this repo, but should go through the vendor's process to be imported here.

work-in-progress/ is a legacy directory that contains all the work that was once submitted to the repo, but was not yet ready for review. Since the CSSWG has adopted the GitHub pull request process, no new files should be landed here. The subdirectories here are named by test author or contributing organization.

Linking Your Tests to Specifications

In addition to placing your tests in the appropriate directory in this repository, you must also include at least one specification link in the test metadata, following these guidelines.

For CSS tests, you must also be sure you’re linking to a specific level of the spec, generally the first level where the feature being tested is defined. Where possible, it’s preferable to link to the official version of the spec, which will start with This can usually be found as the ‘Latest version’ link in the spec itself and will include the level of the spec in the URL. For example, the proper link to level 1 of the CSS Flexbox spec is:

When testing features not yet available in an official draft, link to the appropriate Editor’s Draft found at Be sure to include the level of the specification in the link. For example, the proper link to the CSS Flexbox Level 1 Editor’s Draft is:


Absolutely everyone is welcome (and even encouraged) to contribute to test development, so long as you fulfill the contribution requirements detailed in the Contributing Guidelines. No test is too small or too simple, especially if it corresponds to something for which you've noted an interoperability bug in a browser.

Getting Involved

If you wish to contribute actively, you're very welcome to join the mailing list by signing up to our mailing list. The mailing list is archived.

Write Access

This section only applies if you have cloned the repository from Mercurial. If you've cloned it from GitHub, which is a mirror of the canonical Mercurial repo, you can submit your tests via a pull request.

To gain write access to this Mercurial repository, sign up for an account on the CSS Test Suite Manager (aka Shepherd) at: and then submit a request on the Repository Access page at:

You will be notified by email when your request is processed.

Please note that although we will grant write access directly to the Mercurial repo, it is strongly advised to use GitHub for test submissions to enable reviewers to use its built-in review tools. Direct submissions to Mercurial should be limited to administrative or housekeeping tasks, very minor changes that don't require a review, or from advanced users of the system.

Something went wrong with that request. Please try again.