mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-09 09:58:57 +00:00
24 lines
625 B
HTML
24 lines
625 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);
|
|
|
|
// Add a transition
|
|
div.style.left = '0px';
|
|
window.getComputedStyle(div).transitionProperty;
|
|
div.style.transition = 'all 100s';
|
|
div.style.left = '100px';
|
|
|
|
assert_equals(div.getAnimationPlayers()[0].source.effect.name, '',
|
|
'Animation effects for transitions have an empty name');
|
|
}, 'Effect name for transitions');
|
|
|
|
</script>
|