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

Side by Side Diff: LayoutTests/fullscreen/video-controls-timeline.html

Issue 1278583004: Undo overlay fullscreen video background transparency (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove extraneous space Created 5 years, 4 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 <body> 1 <body>
2 <p>This tests that the video element's timeline controls are draggable in fu ll screen. Press any key to continue.</p> 2 <p>This tests that the video element's timeline controls are draggable in fu ll screen. Press any key to continue.</p>
3 <video id="video" width="300" controls></video> 3 <video id="video" width="300" controls></video>
4 <script> 4 <script>
5 if (window.internals) 5 if (window.internals)
6 runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled ; 6 runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled || internals.runtimeFlags.forceOverlayFullscreenVideoEnabled;
7 </script> 7 </script>
8 <script src="full-screen-test.js"></script> 8 <script src="full-screen-test.js"></script>
9 <script src="../media/media-controls.js"></script> 9 <script src="../media/media-controls.js"></script>
10 <script src="../media/media-file.js"></script> 10 <script src="../media/media-file.js"></script>
11 <script> 11 <script>
12 var video = document.getElementById('video'); 12 var video = document.getElementById('video');
13 var timeline; 13 var timeline;
14 14
15 waitForEvent(document, 'webkitfullscreenchange', function() { 15 waitForEvent(document, 'webkitfullscreenchange', function() {
16 if (window.internals) { 16 if (window.internals) {
(...skipping 12 matching lines...) Expand all
29 logResult(false, "window.internals == undefined"); 29 logResult(false, "window.internals == undefined");
30 }); 30 });
31 31
32 waitForEvent(video, 'canplaythrough', function() { 32 waitForEvent(video, 'canplaythrough', function() {
33 runWithKeyDown(function(){video.webkitRequestFullScreen()}); 33 runWithKeyDown(function(){video.webkitRequestFullScreen()});
34 }); 34 });
35 35
36 video.src = findMediaFile('video', '../media/content/test'); 36 video.src = findMediaFile('video', '../media/content/test');
37 </script> 37 </script>
38 </body> 38 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698