Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<title>image-animation: running creates per-element timeline for video poster</title>
<meta charset="utf-8" />
<link rel="match" href="image-animation-video-poster-running-ref.html" />
<script src="/common/reftest-wait.js"></script>
<script>
function start() {
setTimeout(() => {
document.getElementById('video2').poster = '../../images/anim-gr.gif';
document.getElementById('video2').style.imageAnimation = 'paused';
}, 125);
setTimeout(() => {
takeScreenshot();
}, 250);
}
</script>
<style>
video {
width:20px;
height:10px;
object-fit:fill;
image-animation: running;
}
</style>
<body onload="start()">
<video id="video1" poster="../../images/anim-gr.gif"></video>
<video id="video2"></video>
</body>
</html>