gecko-dev/testing/web-platform/tests/css
Brad Werth ab777532ec Bug 1464113 Part 2: Add a WPT reftest of a shape-outside: image with a negative left offset relative to its containing block. r=dholbert
MozReview-Commit-ID: JehwcVc12Ui

--HG--
extra : rebase_source : 31843273efc91c556f2a52d8fb8dfec99cede21f
2018-05-25 16:18:56 -07:00
..
compositing
CSS1
CSS2 Bug 1462030 [wpt PR 11033] - [LayoutNG] Improve support for negative clearance., a=testonly 2018-05-22 09:40:45 +00:00
css-align Bug 1454587 [wpt PR 10502] - [css-align] Simple syntax for the Alignment shorthands, a=testonly 2018-04-30 14:35:51 +00:00
css-animations Bug 1455303 [wpt PR 10532] - Implement AnimationEvent.pseudoElement, a=testonly 2018-05-14 09:54:55 +00:00
css-backgrounds Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
css-break
css-cascade
css-color Bug 1463119 [wpt PR 8695] - Delete css/css-color/t451-system-colors-a.xht, a=testonly 2018-05-22 09:40:43 +00:00
css-conditional
css-contain Bug 1461945 [wpt PR 11026] - [css-contain] Layout containment abspos and fixed descendants, a=testonly 2018-05-20 19:18:14 +00:00
css-content Bug 1454700 [wpt PR 10508] - [css-content] add OWNERS, a=testonly 2018-05-20 19:20:22 +00:00
css-counter-styles Bug 1442809 [wpt PR 9798] - Upstream ConvolverNode tests to WPT, a=testonly 2018-03-31 22:31:40 +01:00
css-display Bug 1461277 [wpt PR 10979] - [Squad] Get rid of MutableStyleRef() in list items., a=testonly 2018-05-18 11:15:13 +01:00
css-exclusions
css-fill-stroke Bug 1454955 [wpt PR 10519] - [css-fill-stroke] add OWNERS, a=testonly 2018-05-20 19:20:41 +00:00
css-filter Bug 1463071 [wpt PR 11089] - [css-filter] add OWNERS, a=testonly 2018-05-25 16:44:23 +00:00
css-flexbox Bug 1456713 [wpt PR 10625] - CSS-Flexbox: Add test for first-letter, a=testonly 2018-05-08 15:51:56 +01:00
css-font-loading Bug 1454958 [wpt PR 10520] - [css-font-loading] add OWNERS, a=testonly 2018-05-20 19:19:18 +00:00
css-fonts Bug 1462088 [wpt PR 11035] - font-variant descriptor was moved to Fonts 4 , a=testonly 2018-05-25 16:44:30 +00:00
css-gcpm
css-grid Bug 1458902 - [css-grid] Update a few WPT / reftests to new percentage row-gap layout. r=dholbert 2018-05-18 21:09:23 +02:00
css-images Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
css-layout-api Bug 1452882 [wpt PR 10287] - [css-layout-api] Fix DCHECK with the custom layout and multicol., a=testonly 2018-04-24 12:22:25 +00:00
css-lists
css-logical
css-masking Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
css-multicol Bug 1456235 [wpt PR 10586] - Allow column-width:0., a=testonly 2018-04-30 14:36:10 +00:00
css-namespaces
css-overflow Bug 1449846 [wpt PR 10233] - [css-overflow-3] test the flow-relative overflow properties, a=testonly 2018-04-15 08:37:17 +01:00
css-page Bug 1452484 [wpt PR 10361] - Remove SimonSapin from OWNERS, a=testonly 2018-04-15 09:38:27 +01:00
css-paint-api
css-position Bug 1454964 [wpt PR 10521] - [css-position] add OWNERS, a=testonly 2018-04-30 14:36:23 +00:00
css-properties-values-api Bug 1454967 [wpt PR 10522] - [css-properties-values-api] add OWNERS, a=testonly 2018-05-20 19:20:46 +00:00
css-pseudo Bug 1460382: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. r=heycam 2018-05-30 10:14:46 +02:00
css-regions
css-rhythm
css-round-display
css-ruby
css-scoping Bug 1464936: Avoid crashing with @import in Shadow DOM. r=smaug 2018-05-29 12:04:34 +02:00
css-scroll-anchoring Bug 1454976 [wpt PR 10524] - [css-scroll-anchoring] add OWNERS, a=testonly 2018-05-20 19:20:36 +00:00
css-scroll-snap Bug 1455659 [wpt PR 10550] - [css-scroll-snap] add OWNERS, a=testonly 2018-05-20 19:20:27 +00:00
css-scrollbars Bug 1464744 - Add a web-platform test for viewport scrollbars. r=heycam 2018-05-28 14:47:11 +10:00
css-shadow-parts Bug 1455690 [wpt PR 10551] - [css-shadow-parts] add OWNERS, a=testonly 2018-05-20 19:19:13 +00:00
css-shapes Bug 1464113 Part 2: Add a WPT reftest of a shape-outside: image with a negative left offset relative to its containing block. r=dholbert 2018-05-25 16:18:56 -07:00
css-sizing Bug 1461461 [wpt PR 10994] - [LayoutNG] Fix min/max sizes during layout and intrinsic passes., a=testonly 2018-05-20 19:18:45 +00:00
css-speech
css-style-attr
css-syntax Bug 1032034: Test that unicode range syntax isn't a primitive token. r=bz 2018-05-10 20:21:23 +02:00
css-tables Bug 1457956 [wpt PR 10714] - [css-tables] Scrollbar should be removed from OverrideLogicalHeight(), a=testonly 2018-05-02 08:05:36 +01:00
css-text Bug 1456747 [wpt PR 10628] - [css-text] tests for overflow-wrap with break-word + break-spaces, a=testonly 2018-05-02 07:47:19 +01:00
css-text-decor Bug 1450636 [wpt PR 10268] - Fix a typo in wpt/css/css-text-decor/text-emphasis-style-001.html, a=testonly 2018-04-15 09:27:17 +01:00
css-timing Bug 1448700 [wpt PR 10171] - Web Animations: remove timing objects, a=testonly 2018-04-15 09:30:30 +01:00
css-transforms Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
css-transitions Bug 1461070: Skip starting other transitions based on specified, not already-started transitions. r=birtles,dbaron 2018-05-18 17:21:16 +02:00
css-typed-om Bug 1462541 [wpt PR 11062] - [css-typed-om] Ignore surrounding whitespace in CSSNumericValue.parse., a=testonly 2018-05-22 09:40:43 +00:00
css-ui Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
css-values Bug 1452726 [wpt PR 10383] - [css-values] Typo fixes, a=testonly 2018-04-24 12:22:49 +00:00
css-variables Bug 1443103 [wpt PR 9800] - Correct serialization of box-shadow and text-shadow, a=testonly 2018-04-15 09:38:59 +01:00
css-writing-modes Bug 1457123 [wpt PR 10651] - [css-writing-modes] Fix percentages on orthogonal replaced children, a=testonly 2018-05-02 07:49:21 +01:00
cssom Bug 1464865: Fix some typos in WPT tests. r=xidorn 2018-05-29 16:39:39 +02:00
cssom-view Bug 1459373 [wpt PR 8409] - new test: scollElement-002.html, a=testonly 2018-05-14 09:55:12 +00:00
filter-effects Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
geometry Bug 1464627 - Fix the spec link to 3D rotation matrix. r=emilio DONTBUILD 2018-05-27 09:55:06 +09:00
mediaqueries Bug 1460655: Support x as a resolution unit. r=xidorn 2018-05-10 18:11:52 +02:00
motion Bug 1461129 [wpt PR 10973] - Use getPropertyValue in parsing-testcommon.js, a=testonly 2018-05-18 11:15:13 +01:00
reference
selectors Bug 1463041 [wpt PR 11020] - CSS: Update WPT :matches for intersection behavior, a=testonly 2018-05-22 09:40:46 +00:00
support
tools
vendor-imports/mozilla Bug 1465107: Cleanup remaining mochitest / reftest / crashtests stylo expectations. r=xidorn 2018-05-30 10:03:50 +02:00
WOFF2 Bug 1463784 [wpt PR 8494] - Add @font-face rules to load TrueType and OpenType test fonts., a=testonly 2018-05-25 16:44:26 +00:00
.gitignore Bug 1457461 [wpt PR 10683] - Ignore css/tools/_virtualenv in .gitignore, a=testonly 2018-05-02 07:48:37 +01:00
.htaccess
build-css-testsuites.sh
README.md Bug 1460278 [wpt PR 10925] - Use https://web-platform-tests.org, a=testonly 2018-05-18 11:15:13 +01:00
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.