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

Unified Diff: third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html

Issue 2601103003: CSS Animations: fix flaky zoom-responsive-transform-animation.html (Closed)
Patch Set: remove unneeded line Created 3 years, 12 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
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
diff --git a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html b/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
index 95c25c6c9075a40f44465413edf87bf2e27fe1e5..d35fdf332072bcce721dee37e5178d5fb158664e 100644
--- a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
+++ b/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
@@ -14,7 +14,9 @@
}
</style>
<div id="container"></div>
+<div id="footer"></div>
<script>
+'use strict';
internals.setZoomFactor(2);
[
@@ -50,10 +52,16 @@ internals.setZoomFactor(2);
if (window.testRunner)
testRunner.waitUntilDone();
+function waitForCompositor() {
+ return footer.animate({opacity: ['1', '1']}, 1).ready;
+}
+
requestAnimationFrame(() => {
requestAnimationFrame(() => {
- if (window.testRunner)
- testRunner.notifyDone();
+ waitForCompositor().then(() => {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
});
});
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698