blob: 0db2eab40324ba9d6790e08eb58da83cc62d6a6b [file] [log] [blame]
<style>
.box {
position: relative;
-webkit-animation-delay: 5ms;
-webkit-animation-name: anim;
}
@-webkit-keyframes anim {
from { -webkit-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>