|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| CSS1/ | H | 15-Mar-2021 | - | 30 | 28 |
| CSS2/ | H | 03-May-2022 | - | 432,143 | 393,216 |
| WOFF2/ | H | 15-Mar-2021 | - | 30,371 | 29,726 |
| compositing/ | H | 03-May-2022 | - | 6 | 5 |
| construct-stylesheets/ | H | 03-May-2022 | - | 6 | 5 |
| css-align/ | H | 03-May-2022 | - | 6 | 5 |
| css-animations/ | H | 03-May-2022 | - | 8 | 7 |
| css-backgrounds/ | H | 03-May-2022 | - | 7,331 | 6,177 |
| css-borders/reference/ | H | 03-May-2022 | - | | |
| css-box/ | H | 03-May-2022 | - | 6 | 5 |
| css-break/ | H | 03-May-2022 | - | 42 | 40 |
| css-cascade/ | H | 03-May-2022 | - | 25 | 23 |
| css-color/ | H | 03-May-2022 | - | 4,726 | 4,454 |
| css-color-adjust/ | H | 03-May-2022 | - | 10 | 9 |
| css-conditional/ | H | 03-May-2022 | - | 5 | 5 |
| css-contain/ | H | 03-May-2022 | - | 23 | 14 |
| css-content/ | H | 03-May-2022 | - | 4 | 3 |
| css-counter-styles/ | H | 03-May-2022 | - | 27 | 22 |
| css-device-adapt/ | H | 03-May-2022 | - | 4 | 3 |
| css-display/ | H | 03-May-2022 | - | 7,303 | 7,127 |
| css-easing/ | H | 03-May-2022 | - | 5 | 4 |
| css-env/ | H | 03-May-2022 | - | 5 | 4 |
| css-exclusions/ | H | 03-May-2022 | - | 539 | 463 |
| css-fill-stroke/ | H | 03-May-2022 | - | 4 | 3 |
| css-flexbox/ | H | 03-May-2022 | - | 2,429 | 2,222 |
| css-font-loading/ | H | 03-May-2022 | - | 5 | 4 |
| css-fonts/ | H | 03-May-2022 | - | 136,103 | 133,623 |
| css-forced-color-adjust/parsing/ | H | 03-May-2022 | - | | |
| css-gcpm/ | H | 03-May-2022 | - | 5 | 4 |
| css-grid/ | H | 03-May-2022 | - | 73 | 65 |
| css-images/ | H | 03-May-2022 | - | 59 | 53 |
| css-inline/ | H | 03-May-2022 | - | 6 | 5 |
| css-layout-api/ | H | 03-May-2022 | - | 5 | 4 |
| css-lists/ | H | 03-May-2022 | - | 163 | 145 |
| css-logical/ | H | 03-May-2022 | - | 4 | 3 |
| css-masking/ | H | 03-May-2022 | - | 6 | 5 |
| css-multicol/ | H | 03-May-2022 | - | 11,021 | 9,349 |
| css-namespaces/ | H | 15-Mar-2021 | - | 725 | 681 |
| css-overflow/ | H | 03-May-2022 | - | 6 | 5 |
| css-overscroll-behavior/ | H | 03-May-2022 | - | 5 | 4 |
| css-page/ | H | 03-May-2022 | - | 454 | 435 |
| css-paint-api/ | H | 03-May-2022 | - | 6 | 5 |
| css-parser-api/ | H | 03-May-2022 | - | 4 | 3 |
| css-position/ | H | 03-May-2022 | - | 4 | 3 |
| css-properties-values-api/ | H | 03-May-2022 | - | 33 | 24 |
| css-pseudo/ | H | 03-May-2022 | - | 25 | 23 |
| css-round-display/ | H | 03-May-2022 | - | 4 | 3 |
| css-ruby/ | H | 03-May-2022 | - | 193 | 171 |
| css-scoping/ | H | 03-May-2022 | - | 13 | 11 |
| css-scroll-anchoring/ | H | 03-May-2022 | - | 13 | 9 |
| css-scroll-snap/ | H | 03-May-2022 | - | 48 | 38 |
| css-scrollbars/ | H | 03-May-2022 | - | 4 | 3 |
| css-shadow-parts/ | H | 03-May-2022 | - | 4 | 3 |
| css-shapes/ | H | 03-May-2022 | - | 39 | 27 |
| css-size-adjust/ | H | 03-May-2022 | - | | |
| css-sizing/ | H | 03-May-2022 | - | 5 | 4 |
| css-speech/ | H | 03-May-2022 | - | 4 | 3 |
| css-style-attr/ | H | 15-Mar-2021 | - | 388 | 357 |
| css-syntax/ | H | 03-May-2022 | - | 88 | 80 |
| css-tables/ | H | 03-May-2022 | - | 338 | 283 |
| css-text/ | H | 03-May-2022 | - | 7,726 | 7,135 |
| css-text-decor/ | H | 03-May-2022 | - | 3,274 | 3,192 |
| css-transforms/ | H | 03-May-2022 | - | 339 | 325 |
| css-transitions/ | H | 03-May-2022 | - | 123 | 85 |
| css-typed-om/ | H | 03-May-2022 | - | 4 | 3 |
| css-ui/ | H | 03-May-2022 | - | 80 | 55 |
| css-values/ | H | 03-May-2022 | - | 151 | 115 |
| css-variables/ | H | 03-May-2022 | - | 12 | 10 |
| css-will-change/ | H | 03-May-2022 | - | 5 | 4 |
| css-writing-modes/ | H | 03-May-2022 | - | 76,028 | 53,188 |
| cssom/ | H | 03-May-2022 | - | 113 | 87 |
| cssom-view/ | H | 03-May-2022 | - | 302 | 258 |
| filter-effects/ | H | 03-May-2022 | - | 52 | 36 |
| geometry/ | H | 03-May-2022 | - | 5 | 4 |
| mediaqueries/ | H | 03-May-2022 | - | 118 | 112 |
| motion/ | H | 03-May-2022 | - | 6 | 5 |
| reference/ | H | 03-May-2022 | - | 138 | 123 |
| selectors/ | H | 03-May-2022 | - | 7,905 | 7,792 |
| support/ | H | 03-May-2022 | - | 792 | 658 |
| tools/ | H | 15-Mar-2021 | - | 9,277 | 6,720 |
| vendor-imports/mozilla/ | H | 15-Mar-2021 | - | 21,416 | 17,313 |
| .htaccess | H A D | 15-Mar-2021 | 575 | 25 | 19 |
| README.md | H A D | 15-Mar-2021 | 2.6 KiB | 72 | 49 |
| build-css-testsuites.sh | H A D | 15-Mar-2021 | 1.3 KiB | 55 | 38 |
README.md
1Introduction
2------------
3
4This directory contains testsuites for CSS WG specifications, including ones
5that do not strictly speaking define CSS features, e.g.,
6[Geometry Interfaces](https://drafts.fxtf.org/geometry/).
7
8The directories should be named like the specification's shortname, but without
9any level suffix.
10
11As the test harness relies on the largely undocumented old CSS build system,
12this directory has a number of test requirements specific to it:
13
14 * support files for a given test must live in an adjacent `support` directory;
15
16 * tests must have a [`<link rel=help>`][spec-link] pointing to what they are
17 testing;
18
19 * for each spec so linked, test filenames must be unique; and
20
21 * support and reference files must have unique filenames within the entire
22 `css` directory.
23
24
25vendor-imports/ Directory
26-------------------------
27
28vendor-imports/ is a legacy directory where third parties historically imported
29their tests that originate and are maintained in an external repo. Files in
30this directory should never be modified in this repo, but should go through the
31vendor's process to be imported here.
32
33
34Importing Old Branches
35----------------------
36
37Given an old branch in git based against the old csswg-test
38repository, it can be moved over to the merged repo in one of two
39ways:
40
41 * (Recommended:) Rebasing on top of web-platform-tests: with the old
42 branch checked out, run `git rebase -Xsubtree=css/ origin/master`
43 (or similar, depending on the name of the upstream remote).
44
45 * Merging to web-platform-tests: with web-platform-tests' master
46 branch checked out, run `git merge -Xsubtree=css/ my_shiny_branch`
47 (or similar, depending on the name of your branch).
48
49If you have a branch/bookmark in Mercurial, the process is more
50complicated:
51
52 1. From the Mercurial repo, run `hg export --git -r 'outgoing()' >
53 foo.patch`. This will export all the changeset shown in `hg log -r
54 'outgoing()'`; it's recommended you check this is the right set of
55 changesets before continuing!
56
57 2. Move to the git repo, and create a new branch based on
58 web-platform-tests' master; e.g., `git checkout -b hg-import
59 origin/master` (or similar, depending on the name of the upstream
60 remote).
61
62 3. Download [hg-patch-to-git-patch][] and run `python2
63 hg-patch-to-git-patch < foo.patch > bar.patch` (where `foo.patch`
64 is the path to the `foo.patch` you exported above).
65
66 4. Run `git am --directory=css/ < bar.patch`.
67
68
69[harness]: https://test.csswg.org/harness/
70[spec-link]: https://web-platform-tests.org/writing-tests/css-metadata.html#specification-links
71[hg-patch-to-git-patch]: https://raw.githubusercontent.com/mozilla/moz-git-tools/master/hg-patch-to-git-patch
72