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

Unified Diff: third_party/WebKit/LayoutTests/animations/composited-with-hit-testing.html

Issue 2411163003: CSS Animations: Reduce usage of setTimeout in Layout tests (Closed)
Patch Set: extra tests Created 4 years, 2 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/change-keyframes-name.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/composited-with-hit-testing.html
diff --git a/third_party/WebKit/LayoutTests/animations/composited-with-hit-testing.html b/third_party/WebKit/LayoutTests/animations/composited-with-hit-testing.html
index 4bf078c1815024afc900d2526f86353c9cdd9a89..d25e239002008d81dd5c1619b902dca058e9a52d 100644
--- a/third_party/WebKit/LayoutTests/animations/composited-with-hit-testing.html
+++ b/third_party/WebKit/LayoutTests/animations/composited-with-hit-testing.html
@@ -15,7 +15,7 @@ requestAnimationFrame(function() {
{transform: 'translateX(0px)'},
{transform: 'translateX(1000px)'},
], 1000);
- setTimeout(function() {
+ requestAnimationFrame(function() {
eventSender.mouseMoveTo(1, 1);
eventSender.mouseMoveTo(1, 2);
anim.pause();
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/change-keyframes-name.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698