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

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

Issue 1363023005: 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <video></video>
3 <script> 2 <script>
4 var runPixelTests = true; 3 var runPixelTests = true;
4
5 function init() {
6 waitForEventAndEnd(document, 'webkitfullscreenchange');
7 runWithKeyDown(function() {
8 document.getElementById('video').webkitRequestFullScreen();
9 });
10 }
5 </script> 11 </script>
6 <script src="full-screen-test.js"></script> 12 <script src="full-screen-test.js"></script>
7 <script> 13 <style>
8 document.onwebkitfullscreenchange = endTest; 14 #video {
9 runWithKeyDown(function() { 15 background-color: black;
10 document.querySelector("video").webkitRequestFullScreen(); 16 }
11 }); 17 </style>
12 </script> 18 <body onload="init()">
19 <video id='video'></video>
20 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698