Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CSS WG test repository (mirrored at https://hg.csswg.org/test/)
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 dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
css-fonts-3 Fixing URI of linked specification help;
css-gcpm-3 merge
css-grid-1 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
css-text-decor-3 Remove useless reference file.
css-transforms-1 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
css-transitions-1 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
css-transitions-2 [css-transitions-2] Test that transitioncancel is fired if element is…
css-ui-3 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
css-values-3 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
cssom-view-1 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
resources @ bb9b405 removed testharness.js files
selectors-3 move i18n readme to the correct new location
selectors-4 update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
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 dev.w3.org/csswg to drafts.csswg.org
work-in-progress update draft spec urls from dev.w3.org/csswg to drafts.csswg.org
.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
CONTRIBUTING.md ported Contributing Guidlines with CLA from w3c/web-platform-tests#261
LICENSE adding license file, same as https://github.com/w3c/web-platform-test…
README.md update draft spec urls from dev.w3.org/csswg to drafts.csswg.org

README.md

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 http://www.w3.org/TR/. 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:

http://www.w3.org/TR/css-flexbox-1/#RELEVANT_SECTION

When testing features not yet available in an official draft, link to the appropriate Editor’s Draft found at https://drafts.csswg.org/. 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:

https://drafts.csswg.org/css-flexbox-1/#RELEVANT_SECTION

Contributing

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 public-css-testsuite@w3.org 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: https://test.csswg.org/shepherd/register and then submit a request on the Repository Access page at: https://test.csswg.org/shepherd/account/access/

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.