Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1293)

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/rendering/backdrop-video.html

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698