Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<title>paused, stopped and normal image animation mixed for video poster</title>
<meta charset="utf-8" />
<link rel="match" href="image-animation-video-poster-paused-normal-mixed-ref.html" />
<script src="/common/reftest-wait.js"></script>
<script src="resources/image-animation-utils.js"></script>
<script>
waitForFrameTime(300).then(() => {
for (const video of document.querySelectorAll('video'))
video.style.imageAnimation = 'paused';
requestAnimationFrame(() => {
requestAnimationFrame(() => {
takeScreenshot();
});
});
});
</script>
<style>
video {
width:20px;
height:10px;
object-fit:fill;
}
</style>
<video poster="../../images/anim-gr.gif" style="image-animation: paused;"></video>
<video poster="../../images/anim-gr.gif"></video>
<video poster="../../images/anim-gr.gif" style="image-animation: paused;"></video>
<video poster="../../images/anim-gr.gif" style="image-animation: normal;"></video>
<video poster="../../images/anim-gr.gif" style="image-animation: stopped;"></video>
</html>