Skip to content

Commit d945060

Browse files
authored
Merge pull request web-platform-tests#3 from alancutter/effectValueKeyframeEffect
Upstream the-effect-value-of-a-keyframe-effect.html from Blink
2 parents 517e7cb + 8692af3 commit d945060

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

web-animations/animation-model/keyframe-effects/the-effect-value-of-a-keyframe-effect.html

+11
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@
109109

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

112+
test(function(t) {
113+
var div = createDiv(t);
114+
var anim = div.animate({ WebkitTransform: ['translateX(100px)', 'translateX(100px)'],
115+
webkitTransform: ['translateX(100px)', 'translateX(100px)'] },
116+
{ duration: 100 * MS_PER_SEC, fill: 'both' });
117+
118+
anim.currentTime = 0;
119+
assert_not_equals(getComputedStyle(div).getPropertyValue('-webkit-transform'), 'translateX(100px)');
120+
121+
}, "Test prefixed properties are not supported");
122+
112123
done();
113124
</script>
114125
</body>

0 commit comments

Comments
 (0)