blob: f5acb035ccaab24f5385647b0f7d1a03470f2ecd [file] [log] [blame]
<!doctype>
<style>
p:only-of-type {
-webkit-animation: reverse,alternate;
-webkit-animation-name: keyframes1;
-webkit-animation-duration: 0.5s;
}
@keyframes keyframes1 {}
</style>
<script>
function main() {
if (window.testRunner)
testRunner.dumpAsText();
console.log('This test passes if it does not crash.');
var animations = A.getAnimations();
document.body.appendChild(A);
animations[0].startTime = 0;
}
</script>
<body onload="main()">
<p></p>
<div>
<p id="A"></p>
</div>
</body>