mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-09 18:09:16 +00:00
24 lines
630 B
HTML
24 lines
630 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="../testcommon.js"></script>
|
|
<div id="log"></div>
|
|
<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 players = div.getAnimationPlayers();
|
|
assert_equals(players[0].source.target, div,
|
|
'Animation.target is the animatable div');
|
|
}, 'Returned CSS transitions have the correct Animation.target');
|
|
|
|
</script>
|