blob: 48f1bbb327fb2eced7710d444ccfd5d194f52854 [file] [log] [blame]
<style>
.box {
position: relative;
-webkit-animation-delay: 5ms;
-webkit-animation-name: anim;
}
@-webkit-keyframes anim {
from { transform: translateX(10px); }
}
</style>
<script type="text/javascript" charset="utf-8">
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function waitForAnimation()
{
window.setTimeout(function() {
if (window.testRunner)
testRunner.notifyDone();
}, 50);
}
window.addEventListener('load', waitForAnimation, false);
</script>
<p>Test passes if it does not crash.</p>
<span class="box">Hello world</span>