blob: 2311212a918251f21d71878f7190d1d37092b489 [file] [log] [blame]
<style>
.box {
position: relative;
animation-delay: 5ms;
animation-name: anim;
}
@keyframes anim {
from { transform: translateX(10px); }
}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script type="text/javascript" charset="utf-8">
var test = async_test("Test passes if it does not crash when inline node has animation");
function waitForAnimation()
{
test.step_timeout(test.step_func_done(() => {}), 50);
}
window.addEventListener('load', test.step_func(waitForAnimation), false);
</script>
<span class="box">Hello world</span>