blob: 2bc2f397067fda700ef4d6a71b1d9190bc310f5a [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=false ] -->
<html>
<head>
<style>
@keyframes reveal {
0%, 50% {
height: 0;
}
100% {
height: auto;
}
}
.landing {
width: 300px;
overflow: hidden;
border: 1px solid black;
animation: reveal 0.01s forwards;
}
.contents {
height: 300px;
background-color: gray;
}
</style>
</head>
<body>
<div id="animated" class="landing">
<div class="contents"></div>
</div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
document.getElementById('animated').addEventListener('animationend', function() {
if (window.testRunner)
testRunner.notifyDone();
})
</script>
</body>
</html>