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

Unified Diff: LayoutTests/web-animations-api/timeline-updates-players.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-updates-players.html
diff --git a/LayoutTests/web-animations-api/timeline-updates-players.html b/LayoutTests/web-animations-api/timeline-updates-players.html
index f3b9e4265c08600a71d78e7ccb67975302009fde..3cbc6b1a99191369f5e32062228c01987fa3958c 100644
--- a/LayoutTests/web-animations-api/timeline-updates-players.html
+++ b/LayoutTests/web-animations-api/timeline-updates-players.html
@@ -8,9 +8,9 @@
<script>
var element = document.getElementById('element');
-var animation = new Animation(element, [{left: '0px'}, {left: '100px'}], 10);
+var keyframeEffect = new KeyframeEffect(element, [{left: '0px'}, {left: '100px'}], 10);
test(function() {
- var player = document.timeline.play(animation);
+ var player = document.timeline.play(keyframeEffect);
player.finish();
assert_equals(getComputedStyle(element).left, 'auto');
@@ -21,7 +21,7 @@ test(function() {
}, 'Player updated after finish and play');
test(function() {
- var player = document.timeline.play(animation);
+ var player = document.timeline.play(keyframeEffect);
assert_equals(getComputedStyle(element).left, '0px');
var source = player.source
player.source = null;
« no previous file with comments | « LayoutTests/web-animations-api/timeline-play-animation.html ('k') | LayoutTests/web-animations-api/transitions-replay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698