Skip to content

Commit

Permalink
Merge pull request web-platform-tests#3 from alancutter/effectValueKe…
Browse files Browse the repository at this point in the history
…yframeEffect

Upstream the-effect-value-of-a-keyframe-effect.html from Blink
  • Loading branch information
suzyh committed Jul 14, 2016
2 parents 517e7cb + 8692af3 commit d945060
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@

}, "Test visibility clamping behavior with an easing that has a negative component");

test(function(t) {
var div = createDiv(t);
var anim = div.animate({ WebkitTransform: ['translateX(100px)', 'translateX(100px)'],
webkitTransform: ['translateX(100px)', 'translateX(100px)'] },
{ duration: 100 * MS_PER_SEC, fill: 'both' });

anim.currentTime = 0;
assert_not_equals(getComputedStyle(div).getPropertyValue('-webkit-transform'), 'translateX(100px)');

}, "Test prefixed properties are not supported");

done();
</script>
</body>

0 comments on commit d945060

Please sign in to comment.