| Index: third_party/WebKit/LayoutTests/fullscreen/rendering/backdrop-video.html
|
| diff --git a/third_party/WebKit/LayoutTests/fullscreen/rendering/backdrop-video.html b/third_party/WebKit/LayoutTests/fullscreen/rendering/backdrop-video.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5bb9b2a46a528b45037b5be20a253aca3940c141
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fullscreen/rendering/backdrop-video.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<title>::backdrop for a fullscreen video element</title>
|
| +<script src="../trusted-event.js"></script>
|
| +<style>
|
| +video::backdrop {
|
| + background: green;
|
| +}
|
| +/* A video element in fullscreen will always get controls.
|
| + ::-webkit-media-controls shouldn't be exposed to the web, but it is, so abuse
|
| + it to hide the controls and simplify the test expectations. */
|
| +video::-webkit-media-controls {
|
| + display: none;
|
| +}
|
| +</style>
|
| +<video></video>
|
| +<script>
|
| +testRunner.waitUntilDone();
|
| +trusted_request(document.querySelector("video"));
|
| +document.addEventListener("fullscreenchange", function() {
|
| + testRunner.notifyDone();
|
| +});
|
| +</script>
|
|
|