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

Unified Diff: LayoutTests/web-animations-api/timeline-play-animation.html

Issue 1113173003: Web Animations: Update naming to reflect spec changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No, really. Created 5 years, 7 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: LayoutTests/web-animations-api/timeline-play-animation.html
diff --git a/LayoutTests/web-animations-api/timeline-play-animation.html b/LayoutTests/web-animations-api/timeline-play-animation.html
index 0e6f993e1c67468519446846c54b0955ddaaf153..01984194076e097445e4e838231b9f1cb80d14d9 100644
--- a/LayoutTests/web-animations-api/timeline-play-animation.html
+++ b/LayoutTests/web-animations-api/timeline-play-animation.html
@@ -11,13 +11,13 @@ var element = document.getElementById('e');
var style = getComputedStyle(element);
var duration = 1;
-var animation = new Animation(element,
+var keyframeEffect = new KeyframeEffect(element,
[{opacity: '1', offset: 0},
{opacity: '0', offset: 1}],
duration);
test(function() {
- var player = document.timeline.play(animation);
+ var player = document.timeline.play(keyframeEffect);
player.pause();
player.currentTime = duration / 2;
assert_equals(style.opacity, '0.5');

Powered by Google App Engine
This is Rietveld 408576698