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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html b/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html
index c81fdcb35f0025aac4effb790b59a1ca6dec6fbe..e0b6a426dd74d98e1312b83d6dddf2e211c727aa 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html
@@ -29,9 +29,11 @@ window.onload = function () {
consoleWrite("Should report another rect which is not on the document");
else
consoleWrite("Should keep rect on document");
- window.internals.forceCompositingUpdate(document);
- logRects('handler');
- endTest();
+ testRunner.layoutAndPaintAsyncThen(function() {
+ window.internals.forceCompositingUpdate(document);
+ logRects('handler');
+ endTest();
+ });
});
runWithKeyDown(function(){document.querySelector('#video').webkitRequestFullScreen()});

Powered by Google App Engine
This is Rietveld 408576698