| 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');
|
|
|