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

Side by Side Diff: LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-allowed-video.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../fast/events/touch/resources/compositor-touch-hit -rects.css"> 4 <link rel="stylesheet" href="../fast/events/touch/resources/compositor-touch-hit -rects.css">
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="discription"> 7 <p id="discription">
8 This test makes sure that touch hit rects are reported for fullscreen HTML5 8 This test makes sure that touch hit rects are reported for fullscreen HTML5
9 video control elements even when there is a document handler. 9 video control elements even when there is a document handler.
10 </p> 10 </p>
11 <video id="video" width="300"></video> 11 <video id="video" width="300"></video>
12 <script src="full-screen-test.js"></script> 12 <script src="full-screen-test.js"></script>
13 <script src="../fast/events/touch/resources/compositor-touch-hit-rects.js"></scr ipt> 13 <script src="../fast/events/touch/resources/compositor-touch-hit-rects.js"></scr ipt>
14 <script> 14 <script>
15 var log = consoleWrite; 15 var log = consoleWrite;
16 16
17 if (window.testRunner) 17 if (window.testRunner)
18 testRunner.dumpAsText(); 18 testRunner.dumpAsText();
19 19
20 window.onload = function () { 20 window.onload = function () {
21 document.addEventListener('touchstart', function() { }); 21 document.addEventListener('touchstart', function() { });
22 22
23 consoleWrite("Should have single rect on document before fullscreen"); 23 consoleWrite("Should have single rect on document before fullscreen");
24 logRects('handler'); 24 logRects('handler');
25 25
26 waitForEvent(document, 'webkitfullscreenchange', function() { 26 waitForEvent(document, 'webkitfullscreenchange', function() {
27 if (window.internals.runtimeFlags.overlayFullscreenVideoEnabled) 27 if (window.internals.runtimeFlags.overlayFullscreenVideoEnabled || windo w.internals.runtimeFlags.forceOverlayFullscreenVideoEnabled)
28 consoleWrite("Should report another rect which is not on the documen t"); 28 consoleWrite("Should report another rect which is not on the documen t");
29 else 29 else
30 consoleWrite("Should keep rect on document"); 30 consoleWrite("Should keep rect on document");
31 logRects('handler'); 31 logRects('handler');
32 endTest(); 32 endTest();
33 }); 33 });
34 34
35 runWithKeyDown(function(){document.querySelector('#video').webkitRequestFull Screen()}); 35 runWithKeyDown(function(){document.querySelector('#video').webkitRequestFull Screen()});
36 } 36 }
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-allowed-video.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698