mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-03 20:30:00 +00:00
22 lines
452 B
HTML
22 lines
452 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<script src="../testcommon.js"></script>
|
|
<style>
|
|
@keyframes anim { }
|
|
</style>
|
|
<body>
|
|
<script>
|
|
'use strict';
|
|
|
|
test(function(t) {
|
|
var div = addDiv(t);
|
|
div.style.animation = 'anim 100s';
|
|
var animation = div.getAnimations()[0];
|
|
assert_equals(animation.effect.target, div,
|
|
'Animation.target is the animatable div');
|
|
}, 'Returned CSS animations have the correct Animation.target');
|
|
|
|
done();
|
|
</script>
|
|
</body>
|