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

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

Issue 22454003: Support subtitles for native fullscreen video (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: enabling layout tests Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <body> 1 <body>
2 <p>This tests that the video element's "controls" attribute is overridden in full screen mode, and that the controls are correctly hidden upon exiting full screen. Press any key to continue.</p> 2 <p>This tests that the video element's "controls" attribute is overridden in full screen mode, and that the controls are correctly hidden upon exiting full screen. Press any key to continue.</p>
3 <video id="video" width="300"></video> 3 <video id="video" width="300"></video>
4 <script>
5 if (window.internals)
6 runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled ;
7 </script>
4 <script src="full-screen-test.js"></script> 8 <script src="full-screen-test.js"></script>
5 <script src="../media/media-controls.js"></script> 9 <script src="../media/media-controls.js"></script>
6 <script> 10 <script>
7 var callback; 11 var callback;
8 var shadowRoot; 12 var shadowRoot;
9 var panel; 13 var panel;
10 14
11 var fullscreenChanged = function(event) 15 var fullscreenChanged = function(event)
12 { 16 {
13 if (callback) 17 if (callback)
(...skipping 24 matching lines...) Expand all
38 else 42 else
39 logResult(false, "window.testRunner == undefined"); 43 logResult(false, "window.testRunner == undefined");
40 44
41 endTest(); 45 endTest();
42 }; 46 };
43 47
44 callback = videoEnteredFullScreen; 48 callback = videoEnteredFullScreen;
45 runWithKeyDown(function(){video.webkitRequestFullScreen()}); 49 runWithKeyDown(function(){video.webkitRequestFullScreen()});
46 </script> 50 </script>
47 </body> 51 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698