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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html

Issue 1410833004: Revert "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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/full-screen-stacking-context-expected.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
index 203a33daa8e5bc956db6d471afbf0a1d253eee17..98a5e31ad17a27b3e3fa01c0c8979a3b2376a036 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
@@ -1,20 +1,12 @@
<!DOCTYPE html>
+<video></video>
<script>
-var runPixelTests = true;
-
-function init() {
- waitForEventAndEnd(document, 'webkitfullscreenchange');
- runWithKeyDown(function() {
- document.getElementById('video').webkitRequestFullScreen();
- });
-}
+ var runPixelTests = true;
</script>
<script src="full-screen-test.js"></script>
-<style>
-#video {
- background-color: black;
-}
-</style>
-<body onload="init()">
- <video id='video'></video>
-</body>
+<script>
+ document.onwebkitfullscreenchange = endTest;
+ runWithKeyDown(function() {
+ document.querySelector("video").webkitRequestFullScreen();
+ });
+</script>

Powered by Google App Engine
This is Rietveld 408576698