mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 02:25:05 +00:00
24 lines
524 B
HTML
24 lines
524 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<script src="../testcommon.js"></script>
|
|
<body>
|
|
<script>
|
|
'use strict';
|
|
|
|
test(function(t) {
|
|
var div = addDiv(t);
|
|
|
|
div.style.left = '0px';
|
|
window.getComputedStyle(div).transitionProperty;
|
|
div.style.transition = 'left 100s';
|
|
div.style.left = '100px';
|
|
|
|
var animation = div.getAnimations()[0];
|
|
assert_equals(animation.effect.target, div,
|
|
'Animation.target is the animatable div');
|
|
}, 'Returned CSS transitions have the correct Animation.target');
|
|
|
|
done();
|
|
</script>
|
|
</body>
|