Switch branches/tags
untagged-4c51f27af5fd6cd0d525 merge_pr_12537 merge_pr_12536 merge_pr_12535 merge_pr_12534 merge_pr_12533 merge_pr_12526 merge_pr_12524 merge_pr_12520 merge_pr_12518 merge_pr_12517 merge_pr_12516 merge_pr_12512 merge_pr_12511 merge_pr_12510 merge_pr_12506 merge_pr_12505 merge_pr_12504 merge_pr_12503 merge_pr_12502 merge_pr_12500 merge_pr_12499 merge_pr_12497 merge_pr_12496 merge_pr_12495 merge_pr_12492 merge_pr_12487 merge_pr_12486 merge_pr_12485 merge_pr_12483 merge_pr_12479 merge_pr_12478 merge_pr_12475 merge_pr_12472 merge_pr_12471 merge_pr_12470 merge_pr_12469 merge_pr_12468 merge_pr_12466 merge_pr_12465 merge_pr_12464 merge_pr_12463 merge_pr_12462 merge_pr_12460 merge_pr_12458 merge_pr_12457 merge_pr_12454 merge_pr_12453 merge_pr_12451 merge_pr_12450 merge_pr_12449 merge_pr_12448 merge_pr_12446 merge_pr_12444 merge_pr_12442 merge_pr_12441 merge_pr_12440 merge_pr_12438 merge_pr_12437 merge_pr_12436 merge_pr_12435 merge_pr_12434 merge_pr_12433 merge_pr_12432 merge_pr_12431 merge_pr_12429 merge_pr_12426 merge_pr_12422 merge_pr_12418 merge_pr_12417 merge_pr_12415 merge_pr_12414 merge_pr_12413 merge_pr_12412 merge_pr_12411 merge_pr_12409 merge_pr_12407 merge_pr_12406 merge_pr_12405 merge_pr_12403 merge_pr_12402 merge_pr_12399 merge_pr_12398 merge_pr_12396 merge_pr_12395 merge_pr_12394 merge_pr_12393 merge_pr_12392 merge_pr_12390 merge_pr_12387 merge_pr_12386 merge_pr_12385 merge_pr_12382 merge_pr_12381 merge_pr_12377 merge_pr_12376 merge_pr_12375 merge_pr_12373 merge_pr_12369 merge_pr_12367
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
CSS1
CSS2
WOFF2
compositing
css-align
css-animations
css-backgrounds
css-box
css-break
css-cascade
css-color
css-conditional
css-contain
css-content
css-counter-styles
css-display
css-env
css-exclusions
css-fill-stroke
css-filter
css-flexbox
css-font-loading
css-fonts
css-gcpm
css-grid
css-images
css-layout-api
css-lists
css-logical
css-masking
css-multicol
css-namespaces
css-overflow
css-page
css-paint-api
css-parser-api
css-position
css-properties-values-api
css-pseudo
css-regions
css-rhythm
css-round-display
css-ruby
css-scoping
css-scroll-anchoring
css-scroll-snap
css-scrollbars
css-shadow-parts
css-shapes
css-sizing
css-speech
css-style-attr
css-syntax
css-tables
css-text-decor
css-text
css-timing
css-transforms
css-transitions
css-typed-om
css-ui
css-values-3
css-values
css-variables
css-will-change
css-writing-modes
cssom-view
cssom
filter-effects
geometry
mediaqueries
motion
reference
selectors
support
tools
vendor-imports/mozilla
.gitignore
.htaccess
README.md
build-css-testsuites.sh
requirements.txt

README.md

Introduction

This directory contains testsuites for CSS WG specifications, including ones that do not strictly speaking define CSS features, e.g., Geometry Interfaces.

The directories should be named like the specification's shortname, but without any level suffix.

As the test harness relies on the largely undocumented old CSS build system, this directory has a number of test requirements specific to it:

  • support files for a given test must live in an adjacent support directory;

  • tests must have a <link rel=help> pointing to what they are testing;

  • for each spec so linked, test filenames must be unique; and

  • support and reference files must have unique filenames within the entire css directory.

vendor-imports/ Directory

vendor-imports/ is a legacy directory where third parties historically imported 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.

Importing Old Branches

Given an old branch in git based against the old csswg-test repository, it can be moved over to the merged repo in one of two ways:

  • (Recommended:) Rebasing on top of web-platform-tests: with the old branch checked out, run git rebase -Xsubtree=css/ origin/master (or similar, depending on the name of the upstream remote).

  • Merging to web-platform-tests: with web-platform-tests' master branch checked out, run git merge -Xsubtree=css/ my_shiny_branch (or similar, depending on the name of your branch).

If you have a branch/bookmark in Mercurial, the process is more complicated:

  1. From the Mercurial repo, run hg export --git -r 'outgoing()' > foo.patch. This will export all the changeset shown in hg log -r 'outgoing()'; it's recommended you check this is the right set of changesets before continuing!

  2. Move to the git repo, and create a new branch based on web-platform-tests' master; e.g., git checkout -b hg-import origin/master (or similar, depending on the name of the upstream remote).

  3. Download hg-patch-to-git-patch and run python2 hg-patch-to-git-patch < foo.patch > bar.patch (where foo.patch is the path to the foo.patch you exported above).

  4. Run git am --directory=css/ < bar.patch.