Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Animated image active frame update when passing delay time</title>
<link rel="match" href="animated-image-update-ref.tentative.html" />
<link rel="author" title="Tin Tun Aung" href="mailto:rayguo17@gmail.com" />
<script src="/common/reftest-wait.js"></script>
</head>
<body>
<img id="image" src="resources/animated.webp" />
<script>
const image = document.getElementById("image");
requestAnimationFrame(() => {
setTimeout(() => {
takeScreenshot();
}, 150);
});
</script>
</body>
</html>