Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import wpt@ac402deb6e9d1a35976009d3ecd5d709bbdd89c7
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
Showing
7 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
third_party/blink/web_tests/external/wpt/css/mediaqueries/mq-gamut-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
25 changes: 25 additions & 0 deletions
25
third_party/blink/web_tests/external/wpt/css/mediaqueries/mq-gamut-002.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
26 changes: 26 additions & 0 deletions
26
third_party/blink/web_tests/external/wpt/css/mediaqueries/mq-gamut-003.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
25 changes: 25 additions & 0 deletions
25
third_party/blink/web_tests/external/wpt/css/mediaqueries/mq-gamut-004.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
25 changes: 25 additions & 0 deletions
25
third_party/blink/web_tests/external/wpt/css/mediaqueries/mq-gamut-005.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |