|
1 W3C CSS Test Suite Submission Directory |
|
2 --------------------------------------- |
|
3 |
|
4 Put tests here that are to be submitted to the official W3C CSS test |
|
5 suites at http://test.csswg.org/. This directory will be sync'ed |
|
6 automatically with the contributors/mozilla/ directory in the CSSWG |
|
7 repository. The master copy is Mozilla's; make edits here, not there. |
|
8 |
|
9 Tests submitted here must conform to the CSSWG test format: |
|
10 http://wiki.csswg.org/test/format |
|
11 The extra metadata is there to connect tests to their respective specs |
|
12 and to help reviewers and people trying to debug their implementations |
|
13 understand and analyze the tests. (These are not write-only regression |
|
14 tests.) |
|
15 |
|
16 TEST FILENAMES MUST BE GLOBALLY UNIQUE across the entire CSSWG test repo, |
|
17 so don't rely on directory names as context. |
|
18 |
|
19 The W3C format uses <link> tags for connecting reftests to their |
|
20 references and generates reftest.list from a build process. Until we |
|
21 set up a build process here, you need to link up the reftest both ways. |
|
22 |
|
23 Because W3C sometimes needs to allow multiple correct renderings for |
|
24 a particular case, a test linked to a reference must match ANY of them, |
|
25 not all of them. To require a test to match all references, chain the |
|
26 references to each other. If (a discrete number of) multiple renderings |
|
27 are conformant, make a reftest comparison for each of them, and mark |
|
28 all but the one we support as 'fails' in the reftest.list. |
|
29 |
|
30 You can copy the test-template-001.xht and references/test-template-001.xht |
|
31 files in this directory as a starting point |
|
32 |
|
33 Submitted tests are tracked in Shepherd: http://test.csswg.org/shepherd/ |
|
34 |
|
35 Some things cannot be reftested; if another format is necessary to test |
|
36 a particular feature, contact public-css-testsuite@w3.org and/or ask |
|
37 the layout peers for help. |
|
38 |
|
39 Legal Stuff |
|
40 ----------- |
|
41 |
|
42 The following license grant applies to contributions to this directory |
|
43 (unless copyright is owned by a W3C Member, in which case the Membership |
|
44 agreement applies): |
|
45 |
|
46 The Contributor hereby grants to the W3C, a perpetual, non-exclusive, |
|
47 royalty-free, world-wide right and license under any Contributor |
|
48 copyrights in this contribution to copy, publish, use, and modify the |
|
49 contribution and to distribute the contribution under a BSD License or one |
|
50 with more restrictive terms, as well as a right and license of the same |
|
51 scope to any derivative works prepared by the W3C and based on, or |
|
52 incorporating all or part of the contribution. The Contributor further |
|
53 agrees that any derivative works of this contribution prepared by the W3C |
|
54 shall be solely owned by the W3C. |
|
55 |
|
56 The Contributor states, to the best of her/his knowledge, that she/he, |
|
57 or the company she/he represents, has all rights necessary to contribute |
|
58 the Materials. |
|
59 |
|
60 W3C will retain attribution of initial authorship to the Contributor. The |
|
61 W3C makes no a-priori commitment to support or distribute contributions. |
|
62 |
|
63 THE CONTRIBUTION IS PROVIDED AS IS, AND CONTRIBUTORS MAKE NO REPRESENTATIONS OR |
|
64 WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF |
|
65 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; |
|
66 THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE. CONTRIBUTORS |
|
67 MAKE NO REPRESENTATIONS, EXPRESS OR IMPLIED, THAT THE CONTRIBUTION OR THE USE |
|
68 THEREOF INDICATES CONFORMANCE TO A SPECIFICATION; CONTRIBUTIONS ARE PROVIDED |
|
69 ONLY TO HELP REACHING INTEROPERABILITY. |