gecko-dev/testing/web-platform/tests/css
2019-07-31 12:49:24 +03:00
..
compositing Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
CSS1 Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly 2019-07-24 13:31:10 +01:00
CSS2 Bug 1566170 [wpt PR 17841] - [LayoutNG] Make Block and inline-block have the same baseline when overflow: hidden, a=testonly 2019-07-24 13:34:34 +01:00
css-align Bug 1565585 [wpt PR 17800] - [css-align] Computed values for align*, justify*, a=testonly 2019-07-31 02:53:42 +00:00
css-animations Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-backgrounds Bug 1568481 - Remove example.com from test, a=testonly 2019-07-24 13:36:53 +01:00
css-box Bug 1567661 [wpt PR 17952] - CSS: WPTs for computed value results derived from percentages, a=testonly 2019-07-31 02:53:52 +00:00
css-break Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-cascade
css-color Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-color-adjust Bug 1556318 [wpt PR 17132] - [css-color-adjust] color-scheme 'auto' -> 'normal'., a=testonly 2019-06-19 11:06:32 -07:00
css-conditional
css-contain Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-content Bug 1421938 - Add a set of WPT reftests (based on the manual i18n-wg testcases) for localized quote marks. r=emilio 2019-07-08 23:56:16 +00:00
css-counter-styles
css-device-adapt
css-display Bug 1566792 [wpt PR 17878] - [css-display] Computed value for display property, a=testonly 2019-07-24 13:35:04 +01:00
css-easing
css-env
css-exclusions Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly 2019-07-24 13:31:10 +01:00
css-fill-stroke
css-flexbox Bug 1291187 - Add tests for testing the computed values of flex-basis. r=emilio 2019-07-29 04:19:13 +00:00
css-font-loading Bug 1558505 [wpt PR 17268] - StyleResolverState may not be constructed with a null element., a=testonly 2019-06-19 11:06:59 -07:00
css-fonts Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-forced-color-adjust Bug 1557100 [wpt PR 17188] - Implement forced-color-adjust CSS property, a=testonly 2019-06-19 11:06:56 -07:00
css-gcpm
css-grid Bug 1566085 [wpt PR 17743] - Use ahem.css in css-grid tests., a=testonly 2019-07-31 02:53:37 +00:00
css-images Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-inline Bug 1566012 [wpt PR 17831] - CSS: test alignment-baseline, baseline-shift, a=testonly 2019-07-24 13:34:32 +01:00
css-layout-api Bug 1564653 [wpt PR 17536] - Recalculate descendant styles when display changes to custom layout, a=testonly 2019-07-24 13:31:39 +01:00
css-lists Bug 1568481 - Remove example.com from another test, a=testonly 2019-07-24 17:57:01 +01:00
css-logical Bug 1567661 [wpt PR 17952] - CSS: WPTs for computed value results derived from percentages, a=testonly 2019-07-31 02:53:52 +00:00
css-masking Bug 1566804 [wpt PR 17880] - [css-masking] Computed value tests, a=testonly 2019-07-24 13:35:27 +01:00
css-multicol Bug 1506293 Part 3 - Add reftests for block-size distribution across column-span split. r=dbaron 2019-07-27 06:14:07 +00:00
css-namespaces
css-overflow Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-overscroll-behavior Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-page
css-paint-api Bug 1567965 [wpt PR 17973] - Revert "[fetch] Improve assertion", a=testonly 2019-07-31 02:53:49 +00:00
css-parser-api
css-position Bug 1456358 - Inhibit RecomputePosition when descendants depend on the out of flow position. r=dbaron 2019-07-29 13:43:29 +00:00
css-properties-values-api Bug 1568161 [wpt PR 17998] - [css-properties-values-api] CSS.supports should ignore syntax after all., a=testonly 2019-07-31 02:54:02 +00:00
css-pseudo Bug 1564747 [wpt PR 17610] - Reland "Fix first line style caching issues", a=testonly 2019-07-24 13:32:55 +01:00
css-regions Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly 2019-07-24 13:31:10 +01:00
css-rhythm Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly 2019-07-24 13:31:10 +01:00
css-round-display
css-ruby
css-scoping
css-scroll-anchoring Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert 2019-07-29 13:44:46 +00:00
css-scroll-snap Bug 1566617 [wpt PR 17865] - [scroll-snap] Improve/fix root propagation test, a=testonly 2019-07-31 02:53:36 +00:00
css-scrollbars Bug 1501083 [wpt PR 13647] - [css-scrollbars] Inheritance, initial values, a=testonly 2019-06-05 10:29:02 +01:00
css-shadow-parts
css-shapes Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
css-size-adjust Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-sizing Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-speech
css-style-attr
css-syntax Bug 1565143 [wpt PR 17746] - Serialization of consecutive tokens., a=testonly 2019-07-24 13:33:42 +01:00
css-tables Bug 1568267 [wpt PR 18005] - [LayoutNG] Remove shrink-to-fit optimization., a=testonly 2019-07-31 02:54:06 +00:00
css-text Bug 1568162 [wpt PR 17999] - Fixed several errors in the tests' title., a=testonly 2019-07-31 02:54:02 +00:00
css-text-decor Bug 1567643: adding text-decoration-skip-ink: none to reftests r=dholbert 2019-07-23 18:08:15 +00:00
css-transforms Bug 1567661 [wpt PR 17952] - CSS: WPTs for computed value results derived from percentages, a=testonly 2019-07-31 02:53:52 +00:00
css-transitions Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-typed-om Bug 1567028 [wpt PR 17893] - Fix type conversion in calculation constructed by CSS typed OM, a=testonly 2019-07-24 13:35:19 +01:00
css-ui Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-values Bug 1564629 [wpt PR 16170] - Added parentheses to check minimum of 32 nested pairs inside calc, a=testonly 2019-07-24 13:31:21 +01:00
css-variables Bug 1560900 [wpt PR 17411] - Allow var() references in -internal-visited-* properties., a=testonly 2019-07-24 13:30:33 +01:00
css-will-change Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
css-writing-modes Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly 2019-07-24 13:34:19 +01:00
cssom Bug 1558661 [wpt PR 17276] - [cssom] Add tests for CSSGroupingRule#insertRule, a=testonly 2019-07-24 13:32:15 +01:00
cssom-view Bug 1567907 [wpt PR 17971] - Add coordinate test for scrollLeft and scrollTop, a=testonly 2019-07-31 02:53:55 +00:00
filter-effects Bug 1567288 [wpt PR 17911] - Fixing rendering of backdrop-filter with opacity, a=testonly 2019-07-31 02:54:05 +00:00
geometry Bug 1566840. Fix DOMQuad test to actually test the spec. r=saschanaz 2019-07-17 14:36:15 +00:00
mediaqueries Bug 1567288 [wpt PR 17911] - Fixing rendering of backdrop-filter with opacity, a=testonly 2019-07-31 02:54:05 +00:00
motion Bug 1568370 - Fix the alignment of offset-anchor with offset-path. r=jwatt 2019-07-27 16:18:53 +00:00
reference Bug 1556841 [wpt PR 17173] - Load Ahem as a webfont everywhere (part 2), a=testonly 2019-06-19 11:06:58 -07:00
selectors Bug 1556691 [wpt PR 17161] - DetachLayoutTree clear hover/active state on dom removal., a=testonly 2019-06-19 11:06:54 -07:00
support Bug 1565539 [wpt PR 17755] - CSS: font-family initial value unspecified, a=testonly 2019-07-24 13:34:02 +01:00
tools Bug 1558851 - [wpt-sync] Update web-platform-tests to dcac708930b6e73bf3e7629908b6467e7644cff9, a=testonly 2019-06-19 11:07:02 -07:00
vendor-imports/mozilla Bug 1566934 [wpt PR 17886] - Sync Mozilla CSS tests as of 2019-07-17, a=testonly 2019-07-24 13:35:08 +01:00
WOFF2
.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.