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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js

Issue 1866333002: Support additive animations on CSS property transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 4 years, 8 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/animations/interpolation/resources/interpolation-test.js
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js b/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
index aae95be78ade4194b406131d03b361fca0235d51..69276e9746c86463b98465e5f78b94823339117d 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/resources/interpolation-test.js
@@ -150,13 +150,13 @@
[property]: to,
});
}
- target.animate(keyframes, {
+ var animation = target.animate(keyframes, {
fill: 'forwards',
duration: 1,
easing: createEasing(at),
- delay: -0.5,
- iterations: 0.5,
});
+ animation.pause();
+ animation.currentTime = 0.5;
},
rebaseline: false,
};

Powered by Google App Engine
This is Rietveld 408576698