• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

CSS1/H15-Mar-2021-3028

CSS2/H03-May-2022-432,143393,216

WOFF2/H15-Mar-2021-30,37129,726

compositing/H03-May-2022-65

construct-stylesheets/H03-May-2022-65

css-align/H03-May-2022-65

css-animations/H03-May-2022-87

css-backgrounds/H03-May-2022-7,3316,177

css-borders/reference/H03-May-2022-

css-box/H03-May-2022-65

css-break/H03-May-2022-4240

css-cascade/H03-May-2022-2523

css-color/H03-May-2022-4,7264,454

css-color-adjust/H03-May-2022-109

css-conditional/H03-May-2022-55

css-contain/H03-May-2022-2314

css-content/H03-May-2022-43

css-counter-styles/H03-May-2022-2722

css-device-adapt/H03-May-2022-43

css-display/H03-May-2022-7,3037,127

css-easing/H03-May-2022-54

css-env/H03-May-2022-54

css-exclusions/H03-May-2022-539463

css-fill-stroke/H03-May-2022-43

css-flexbox/H03-May-2022-2,4292,222

css-font-loading/H03-May-2022-54

css-fonts/H03-May-2022-136,103133,623

css-forced-color-adjust/parsing/H03-May-2022-

css-gcpm/H03-May-2022-54

css-grid/H03-May-2022-7365

css-images/H03-May-2022-5953

css-inline/H03-May-2022-65

css-layout-api/H03-May-2022-54

css-lists/H03-May-2022-163145

css-logical/H03-May-2022-43

css-masking/H03-May-2022-65

css-multicol/H03-May-2022-11,0219,349

css-namespaces/H15-Mar-2021-725681

css-overflow/H03-May-2022-65

css-overscroll-behavior/H03-May-2022-54

css-page/H03-May-2022-454435

css-paint-api/H03-May-2022-65

css-parser-api/H03-May-2022-43

css-position/H03-May-2022-43

css-properties-values-api/H03-May-2022-3324

css-pseudo/H03-May-2022-2523

css-round-display/H03-May-2022-43

css-ruby/H03-May-2022-193171

css-scoping/H03-May-2022-1311

css-scroll-anchoring/H03-May-2022-139

css-scroll-snap/H03-May-2022-4838

css-scrollbars/H03-May-2022-43

css-shadow-parts/H03-May-2022-43

css-shapes/H03-May-2022-3927

css-size-adjust/H03-May-2022-

css-sizing/H03-May-2022-54

css-speech/H03-May-2022-43

css-style-attr/H15-Mar-2021-388357

css-syntax/H03-May-2022-8880

css-tables/H03-May-2022-338283

css-text/H03-May-2022-7,7267,135

css-text-decor/H03-May-2022-3,2743,192

css-transforms/H03-May-2022-339325

css-transitions/H03-May-2022-12385

css-typed-om/H03-May-2022-43

css-ui/H03-May-2022-8055

css-values/H03-May-2022-151115

css-variables/H03-May-2022-1210

css-will-change/H03-May-2022-54

css-writing-modes/H03-May-2022-76,02853,188

cssom/H03-May-2022-11387

cssom-view/H03-May-2022-302258

filter-effects/H03-May-2022-5236

geometry/H03-May-2022-54

mediaqueries/H03-May-2022-118112

motion/H03-May-2022-65

reference/H03-May-2022-138123

selectors/H03-May-2022-7,9057,792

support/H03-May-2022-792658

tools/H15-Mar-2021-9,2776,720

vendor-imports/mozilla/H15-Mar-2021-21,41617,313

.htaccessH A D15-Mar-2021575 2519

README.mdH A D15-Mar-20212.6 KiB7249

build-css-testsuites.shH A D15-Mar-20211.3 KiB5538

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