fune/testing/web-platform/tests/css
2018-08-22 06:37:23 +03:00
..
compositing Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-align
css-animations Bug 1467344 - Update corresponding tests for CSS animations to make them consistent; r=hiro 2018-08-16 14:41:06 +09:00
css-backgrounds Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-box Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-break
css-cascade Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-color Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-conditional
css-contain Bug 1483495 [wpt PR 12492] - [css-contain] Add support file in local directory, a=testonly 2018-08-16 17:47:37 +00:00
css-content
css-counter-styles Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
css-display
css-env
css-exclusions
css-fill-stroke
css-filter
css-flexbox
css-font-loading Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
css-fonts
css-gcpm
css-grid Bug 1483770 [wpt PR 12512] - [css-grid] Distribution offset doesn't account for non-spanning items, a=testonly 2018-08-21 21:05:40 +00:00
css-images Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-layout-api
css-lists
css-logical Bug 1483666 [wpt PR 12508] - [css-logical] Allow CSS logical shorthands to be serialized in inline and computed styles, a=testonly 2018-08-21 21:05:45 +00:00
css-masking Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-multicol
css-namespaces
css-overflow Bug 1481866: Swap order of values in 'overflow' shorthand property. r=emilio 2018-08-10 02:20:53 +00:00
css-page
css-paint-api
css-parser-api Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
css-position
css-properties-values-api Bug 1484154 [wpt PR 12544] - Support CSSStyleValues in StylePropertyMap.set. (Reland), a=testonly 2018-08-21 21:05:44 +00:00
css-pseudo Bug 1480059 [wpt PR 12253] - Don't re-attach ::first-letter during style recalc., a=testonly 2018-08-14 16:45:12 +00:00
css-regions Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
css-rhythm
css-round-display
css-ruby
css-scoping Bug 1484690 - Move the enabled state to the sheet instead of sharing it. r=heycam 2018-08-21 08:55:10 +00:00
css-scroll-anchoring
css-scroll-snap
css-scrollbars Bug 1475033 part 8 - Add some basic tests for scrollbar-width. r=heycam 2018-08-07 16:06:28 +10:00
css-shadow-parts
css-shapes Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-sizing Bug 1480787 [wpt PR 12297] - [LayoutNG] Pass constraint space to inline children for min/max., a=testonly 2018-08-12 08:17:11 +01:00
css-speech
css-style-attr
css-syntax
css-tables
css-text
css-text-decor
css-timing
css-transforms Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-transitions Bug 1484148 - Make CSSTransition startTime test timeout when waiting for transition events after a fixed number of frames; r=hiro 2018-08-20 13:09:41 +09:00
css-typed-om Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
css-ui Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
css-values
css-values-3 Bug 1460043 [wpt PR 7633] - css generated content: added test for counter-* calc() values, a=testonly 2018-08-21 21:05:33 +00:00
css-variables
css-will-change
css-writing-modes Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
CSS1
CSS2 Bug 1481979 [wpt PR 12363] - [LayoutNG] Propagate abspos inline container, a=testonly 2018-08-15 16:50:27 +00:00
cssom Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
cssom-view Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
filter-effects Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
geometry
mediaqueries
motion Bug 1429298 - Part 7: Tests. r=emilio 2018-08-22 01:23:14 +00:00
reference
selectors Bug 1480047 [wpt PR 12252] - Add WPT for :scope selector on shadow trees, a=testonly 2018-08-16 17:47:33 +00:00
support Bug 1483133 [wpt PR 12465] - Move parsing-testcommon.js to support/, a=testonly 2018-08-16 17:47:38 +00:00
tools
vendor-imports/mozilla Bug 1483991 [wpt PR 12534] - Sync Mozilla tests as of 2018-08-16, a=testonly 2018-08-21 21:05:37 +00:00
WOFF2
.gitignore
.htaccess
build-css-testsuites.sh
README.md
requirements.txt

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.