mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-29 12:54:46 +00:00
25 lines
579 B
HTML
25 lines
579 B
HTML
|
<!doctype html>
|
||
|
<meta charset=utf-8>
|
||
|
<script src="../testcommon.js"></script>
|
||
|
<body>
|
||
|
<script>
|
||
|
'use strict';
|
||
|
|
||
|
test(function(t) {
|
||
|
var div = addDiv(t);
|
||
|
|
||
|
// Add a transition
|
||
|
div.style.left = '0px';
|
||
|
window.getComputedStyle(div).transitionProperty;
|
||
|
div.style.transition = 'all 100s';
|
||
|
div.style.left = '100px';
|
||
|
|
||
|
assert_equals(div.getAnimations()[0].transitionProperty, 'left',
|
||
|
'The transitionProperty for the corresponds to the specific ' +
|
||
|
'property being transitioned');
|
||
|
}, 'CSSTransition.transitionProperty');
|
||
|
|
||
|
done();
|
||
|
</script>
|
||
|
</body>
|