Skip to content

Commit

Permalink
Import wpt@ac402deb6e9d1a35976009d3ecd5d709bbdd89c7
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 7f19eb6.
With Chromium commits locally applied on WPT:
8bf0030 "[COOP] Report-only navigation tests"


Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
TBR=smcgruer@google.com

No-Export: true
Change-Id: Ic6b1d29759bd4e300a139d8af79c8929e25c35df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281175
Reviewed-by: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#785171}
  • Loading branch information
Chromium WPT Sync authored and Commit Bot committed Jul 4, 2020
1 parent 04e7dcd commit dc6e5f9
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 0 deletions.
6 changes: 6 additions & 0 deletions third_party/blink/web_tests/TestExpectations
Expand Up @@ -2659,6 +2659,12 @@ crbug.com/1100119 [ Mac ] external/wpt/css/css-pseudo/active-selection-054.html
crbug.com/1018465 external/wpt/css/css-pseudo/active-selection-056.html [ Failure ]

# ====== New tests from wpt-importer added here ======
crbug.com/626703 [ Linux ] external/wpt/css/mediaqueries/mq-gamut-004.html [ Failure ]
crbug.com/626703 [ Mac ] external/wpt/css/mediaqueries/mq-gamut-004.html [ Failure ]
crbug.com/626703 [ Win ] external/wpt/css/mediaqueries/mq-gamut-004.html [ Failure ]
crbug.com/626703 [ Linux ] external/wpt/css/mediaqueries/mq-gamut-002.html [ Failure ]
crbug.com/626703 [ Mac ] external/wpt/css/mediaqueries/mq-gamut-002.html [ Failure ]
crbug.com/626703 [ Win ] external/wpt/css/mediaqueries/mq-gamut-002.html [ Failure ]
crbug.com/626703 [ Linux ] external/wpt/css/mediaqueries/mq-negative-range-001.html [ Failure ]
crbug.com/626703 [ Mac ] external/wpt/css/mediaqueries/mq-negative-range-001.html [ Failure ]
crbug.com/626703 [ Win ] external/wpt/css/mediaqueries/mq-negative-range-001.html [ Failure ]
Expand Down
65 changes: 65 additions & 0 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Expand Up @@ -128022,6 +128022,71 @@
{}
]
],
"mq-gamut-001.html": [
"b0496192933dc4c2e0e4514da630b1828b7d3804",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"mq-gamut-002.html": [
"a63399ede1af3cd6a550c9a9f58ad67fa98970a8",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"mq-gamut-003.html": [
"29bde56e69e84613bd72913218477f331ca31106",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"mq-gamut-004.html": [
"fe285564701be15cf88f379d7747e6aae3291666",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"mq-gamut-005.html": [
"a1fe4d9e6e0c9b28a5103fc7f48b9955998dc6c3",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"mq-invalid-media-type-001.html": [
"24ebd9fd4fcf302a9d695b549098ed7663d18277",
[
Expand Down
@@ -0,0 +1,24 @@
<!doctype html>
<title>Test: srgb color gamut</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="the srgb color-gamut is syntactically supported">
<meta name="flags" content="">
<style>
div {
width: 100px;
height: 100px;
background-color: red;
}

@media (color-gamut: srgb),
not (color-gamut: srgb)
{
div { background-color: green; }
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.

<div></div>
@@ -0,0 +1,25 @@
<!doctype html>
<title>Test: p3 color gamut</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/276">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="the p3 color-gamut is syntactically supported">
<meta name="flags" content="">
<style>
div {
width: 100px;
height: 100px;
background-color: red;
}

@media (color-gamut: p3),
not (color-gamut: p3)
{
div { background-color: green; }
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.

<div></div>
@@ -0,0 +1,26 @@
<!doctype html>
<title>Test: p3 color gamut (old name)</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4535">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/276">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="the dci-p3 (old name for p3) color-gamut is not syntactically supported">
<meta name="flags" content="">
<style>
div {
width: 100px;
height: 100px;
background-color: green;
}

@media (color-gamut: dci-p3),
not (color-gamut: dci-p3)
{
div { background-color: red; }
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.

<div></div>
@@ -0,0 +1,25 @@
<!doctype html>
<title>Test: rec2020 color gamut</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4535">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="the rec2020 color-gamut is syntactically supported">
<meta name="flags" content="">
<style>
div {
width: 100px;
height: 100px;
background-color: red;
}

@media (color-gamut: rec2020),
not (color-gamut: rec2020)
{
div { background-color: green; }
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.

<div></div>
@@ -0,0 +1,25 @@
<!doctype html>
<title>Test: rec2020 color gamut(old name)</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4535">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="the rec-2020 (old name for rec2020) color-gamut is not syntactically supported">
<meta name="flags" content="">
<style>
div {
width: 100px;
height: 100px;
background-color: green;
}

@media (color-gamut: rec-2020),
not (color-gamut: rec-2020)
{
div { background-color: red; }
}
</style>

<p>Test passes if there is a filled green square and <strong>no red</strong>.

<div></div>

0 comments on commit dc6e5f9

Please sign in to comment.