Skip to content

Commit

Permalink
W3C auto test import CL.
Browse files Browse the repository at this point in the history
TBR=qyearsley@chromium.org, cbiesinger@chromium.org, dpranke@chromium.org, jsbell@chromium.org

Review-Url: https://codereview.chromium.org/2304503002
Cr-Commit-Position: refs/heads/master@{#415899}
  • Loading branch information
kojiishi authored and Commit bot committed Sep 1, 2016
1 parent db5015a commit 26e75d3
Show file tree
Hide file tree
Showing 146 changed files with 1,551 additions and 1,194 deletions.
22 changes: 4 additions & 18 deletions third_party/WebKit/LayoutTests/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -467,16 +467,6 @@ crbug.com/441840 imported/csswg-test/css-shapes-1/shape-outside/values/shape-out
crbug.com/441840 imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-004.html [ Failure ]
crbug.com/441840 [ Linux Win ] imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-000.html [ Failure ]

crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-block-in-available-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-block-in-fixed-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-block-in-max-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-inline-in-available-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-inline-in-fixed-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-inline-in-max-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-table-in-available-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-table-in-fixed-001.html [ Missing ]
crbug.com/586413 imported/csswg-test/css-snap-size-1/snap-width-table-in-max-001.html [ Missing ]

crbug.com/505151 imported/csswg-test/css-writing-modes-3/abs-pos-non-replaced-icb-vlr-003.xht [ Failure ]
crbug.com/505151 imported/csswg-test/css-writing-modes-3/abs-pos-non-replaced-icb-vlr-005.xht [ Failure ]
crbug.com/505151 imported/csswg-test/css-writing-modes-3/abs-pos-non-replaced-icb-vlr-011.xht [ Failure ]
Expand Down Expand Up @@ -556,6 +546,10 @@ crbug.com/492664 imported/csswg-test/css-writing-modes-3/inline-block-alignment-
crbug.com/492664 imported/csswg-test/css-writing-modes-3/inline-block-alignment-007.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/inline-table-alignment-003.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/inline-table-alignment-005.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/line-box-height-vlr-021.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/line-box-height-vlr-023.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/ortho-htb-alongside-vrl-floats-006.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/ortho-htb-alongside-vrl-floats-014.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/table-column-order-002.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/table-column-order-003.xht [ Failure ]
crbug.com/492664 imported/csswg-test/css-writing-modes-3/table-column-order-004.xht [ Failure ]
Expand Down Expand Up @@ -941,14 +935,6 @@ crbug.com/613462 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reft
crbug.com/582836 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-font-face-01.html [ Pass Failure ]
crbug.com/582836 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-font-face-02.html [ Pass Failure ]

crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-01a.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-01b.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-02a.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-02b.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-03a.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-03b.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-04.html [ Failure ]

crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/writing-modes-3/text-combine-upright-break-inside-001a.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/writing-modes-3/text-combine-upright-compression-001.html [ Failure ]
crbug.com/553838 imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/writing-modes-3/text-combine-upright-compression-002.html [ Failure ]
Expand Down
2 changes: 2 additions & 0 deletions third_party/WebKit/LayoutTests/W3CImportExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# * Change [ Skip ] to [ Pass ]
# * Add a leading comment: ## Owners: user@example.com

imported/csswg-test/WOFF2-UserAgent [ Skip ]
imported/csswg-test/compositing-1 [ Skip ]
imported/csswg-test/css-align-3 [ Skip ]
imported/csswg-test/css-animations-1 [ Skip ]
Expand Down Expand Up @@ -165,6 +166,7 @@ imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/masking [ Sk
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/multicol3 [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/reftest.list [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/ruby [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/selectors4 [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/sync-tests-filter [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/sync-tests.sh [ Skip ]
imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/text-decor-3 [ Skip ]
Expand Down
77 changes: 77 additions & 0 deletions third_party/WebKit/LayoutTests/imported/csswg-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,83 @@ once submitted to the repo, but was not yet ready for review. Since the CSSWG
has adopted the GitHub pull request process, no new files should be landed here.
The subdirectories here are named by test author or contributing organization.

Running the Tests
-----------------

The tests are designed to be run from your local computer. The test
environment requires Python 2.7+ (but not Python 3.x). You will also
need a copy of OpenSSL. Users on Windows should read the
[Windows Notes](#windows-notes) section below.

To get the tests running, you need to set up the test domains in your
[`hosts` file](http://en.wikipedia.org/wiki/Hosts_%28file%29%23Location_in_the_file_system). The
following entries are required:

```
127.0.0.1 csswg.test
127.0.0.1 www.csswg.test
127.0.0.1 www1.csswg.test
127.0.0.1 www2.csswg.test
127.0.0.1 xn--n8j6ds53lwwkrqhv28a.csswg.test
127.0.0.1 xn--lve-6lad.csswg.test
0.0.0.0 nonexistent-origin.csswg.test
```

Because csswg-test uses git submodules, you must ensure that
these are up to date. In the root of your checkout, run:

```
git submodule update --init --recursive
```

The test environment can then be started using

./serve

This will start HTTP servers on two ports and a websockets server on
one port. By default one web server starts on port 8000 and the other
ports are randomly-chosen free ports. Tests must be loaded from the
*first* HTTP server in the output. To change the ports, copy the
`config.default.json` file to `config.json` and edit the new file,
replacing the part that reads:

```
"http": [8000, "auto"]
```

to some port of your choice e.g.

```
"http": [1234, "auto"]
```

If you installed OpenSSL in such a way that running `openssl` at a
command line doesn't work, you also need to adjust the path to the
OpenSSL binary. This can be done by adding a section to `config.json`
like:

```
"ssl": {"openssl": {"binary": "/path/to/openssl"}}
```
Windows Notes
-------------

Running wptserve with SSL enabled on Windows typically requires
installing an OpenSSL distribution.
[Shining Light](http://slproweb.com/products/Win32OpenSSL.html)
provide a convenient installer that is known to work, but requires a
little extra setup.

After installation ensure that the path to OpenSSL is on your `%Path%`
environment variable.

Then set the path to the default OpenSSL configuration file (usually
something like `C:\OpenSSL-Win32\bin\openssl.cfg` in the server
configuration. To do this copy `config.default.json` in the
web-platform-tests root to `config.json`. Then edit the JSON so that
the key `ssl/openssl/base_conf_path` has a value that is the path to
the OpenSSL config file.

Linking Your Tests to Specifications
-----------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{"host": "csswg.test",
"doc_root": null,
"ws_doc_root": null,
"external_host": null,
"ports":{"http":[8000, "auto"],
"https":[8443],
"ws":["auto"],
"wss":["auto"]},
"check_subdomains": true,
"log_level":"debug",
"bind_hostname": true,
"ssl": {"type": "openssl",
"encrypt_after_connect": false,
"openssl": {
"openssl_binary": "openssl",
"base_path": "_certs",
"force_regenerate": false,
"base_conf_path": null
},
"pregenerated": {
"host_key_path": null,
"host_cert_path": null
},
"none": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>flexbox |css-box-justify-content</title>
<link rel="author" href="ava656094@gmail.com" title="xiaoxia">
<link rel="author" href="mailto:ava656094@gmail.com" title="xiaoxia">
<style>
#flexbox {
background: green;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>flexbox |css-box-justify-content</title>
<link rel="author" href="ava656094@gmail.com" title="xiaoxia">
<link rel="author" href="mailto:ava656094@gmail.com" title="xiaoxia">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-justify-content">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-flow">
<link rel="match" href="reference/css-box-justify-content-ref.html">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - positive number</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - positive number</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - negative number(width not specified)</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - negative number(width specified)</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - 0</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - 0%</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - auto</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: flex-basis - 50%</title>
<link rel="author" href="Intel" title="http://www.intel.com">
<link rel="author" href="Intel" title="mailto:shiyoux.tan@intel.com">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
<link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-basis">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>flex item child margin</title>
<link rel="author" title="shaofeic" href="csf178@gmail.com" />
<link rel="author" title="shaofeic" href="mailto:csf178@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-items">
<link rel="match" href="reference/flex-flexitem-childmargin-ref.html">
<meta name="flags" content="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>flex item size prescation</title>
<link rel="author" title="shaofeic" href="csf178@gmail.com" />
<link rel="author" title="shaofeic" href="mailto:csf178@gmail.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-items">
<link rel="match" href="reference/flex-flexitem-percentage-prescation-ref.html">
<meta name="flags" content="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>CSS Test Reference: flex container layout lowest order with row-reverse direction</title>
<link rel="author" title="tmtysk" href="tmtysk@gmail.com">
<link rel="reviewer" title="Tab Atkins, Jr." href="jackalmage@gmail.com">
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
<link rel="reviewer" title="Tab Atkins, Jr." href="mailto:jackalmage@gmail.com">
<style>
#leftmost {
float: right;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>CSS Test: flex container layout lowest order with row-reverse direction</title>
<link rel="author" title="tmtysk" href="tmtysk@gmail.com">
<link rel="reviewer" title="Tab Atkins, Jr." href="jackalmage@gmail.com">
<link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com">
<link rel="reviewer" title="Tab Atkins, Jr." href="mailto:jackalmage@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-order">
<meta name="flags" content="">
<link rel="match" href="order-with-row-reverse-ref.html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<meta charset="utf-8">
<title>CSS Shapes Tests: Circle - invalid 2 args</title>
<link rel="author" title="biqing" href="biqing.kwok@qq.com">
<link rel="author" title="biqing" href="mailto:biqing.kwok@qq.com">
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes">
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle">
<script src="/resources/testharness.js"></script>
Expand Down Expand Up @@ -32,4 +32,4 @@

</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<meta charset="utf-8">
<title>CSS Shapes Tests: Circle - invalid r values</title>
<link rel="author" title="biqing" href="biqing.kwok@qq.com">
<link rel="author" title="biqing" href="mailto:biqing.kwok@qq.com">
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes">
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle">
<script src="/resources/testharness.js"></script>
Expand Down Expand Up @@ -44,4 +44,4 @@

</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Reference File</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<style type="text/css">
.container {
width: 200px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Test: Left float with linear gradient</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
<link rel="match" href="reference/shape-outside-linear-gradient-001-ref.html"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Reference File</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<style type="text/css">
.container {
width: 200px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Test: Right float with linear gradient</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
<link rel="match" href="reference/shape-outside-linear-gradient-002-ref.html"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Reference File</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<style type="text/css">
.container {
width: 200px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>CSS Test: Right float with linear gradient</title>
<link rel="author" title="Bear Travis" href="betravis@adobe.com"/>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-margin-property"/>
Expand Down
Loading

0 comments on commit 26e75d3

Please sign in to comment.