Skip to content

Commit

Permalink
Merge pull request web-platform-tests#4 from alancutter/animateNullEf…
Browse files Browse the repository at this point in the history
…fect

Upstream element-animate-null-effect.html from Blink
  • Loading branch information
suzyh authored Jul 14, 2016
2 parents d945060 + d8b766c commit 26605e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web-animations/interfaces/Animatable/animate.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
'Returned Animation has a KeyframeEffect');
}, 'Element.animate() creates an Animation object with a KeyframeEffect');

gEmptyKeyframeListTests.forEach(function(subTest) {
test(function(t) {
var div = createDiv(t);
var anim = div.animate(subTest, 2000);
assert_not_equals(anim, null);
}, 'Element.animate() accepts empty keyframe lists');
});

gPropertyIndexedKeyframesTests.forEach(function(subtest) {
test(function(t) {
var div = createDiv(t);
Expand Down

0 comments on commit 26605e3

Please sign in to comment.