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

Side by Side Diff: third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html

Issue 2701433003: Hide overlay play button if it can't be shown without clipping (Closed)
Patch Set: Add delay to layout test to allow ResizeObserver to run Created 3 years, 9 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 <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>
(...skipping 11 matching lines...) Expand all
22 22
23 consoleWrite("Should have single rect on document before fullscreen"); 23 consoleWrite("Should have single rect on document before fullscreen");
24 window.internals.forceCompositingUpdate(document); 24 window.internals.forceCompositingUpdate(document);
25 logRects('handler'); 25 logRects('handler');
26 26
27 waitForEvent(document, 'webkitfullscreenchange', function() { 27 waitForEvent(document, 'webkitfullscreenchange', function() {
28 if (window.internals.runtimeFlags.forceOverlayFullscreenVideoEnabled) 28 if (window.internals.runtimeFlags.forceOverlayFullscreenVideoEnabled)
29 consoleWrite("Should report another rect which is not on the documen t"); 29 consoleWrite("Should report another rect which is not on the documen t");
30 else 30 else
31 consoleWrite("Should keep rect on document"); 31 consoleWrite("Should keep rect on document");
32 window.internals.forceCompositingUpdate(document); 32 testRunner.layoutAndPaintAsyncThen(function() {
33 logRects('handler'); 33 window.internals.forceCompositingUpdate(document);
34 endTest(); 34 logRects('handler');
35 endTest();
36 });
35 }); 37 });
36 38
37 runWithKeyDown(function(){document.querySelector('#video').webkitRequestFull Screen()}); 39 runWithKeyDown(function(){document.querySelector('#video').webkitRequestFull Screen()});
38 } 40 }
39 </script> 41 </script>
40 </body> 42 </body>
41 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698