blob: 9012e0e56ac962187f8b79a16ea87c1e94e59c93 [file] [log] [blame]
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>PNG Third Edition: animated PNG, plays</title>
<link rel="author" title="Philip Taylor" href="mailto:excors@gmail.com">
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation">
<link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk">
<link rel="match" href="apng-blue-rectangle-one-ref.html">
<meta name="assert" content="num_plays indicates the number of times that this animation should play. If nonzero, the animation should come to rest on the final frame at the end of the last play.">
<script>
const el = document.querySelector(".reftest-wait");
setTimeout(() => {
el.classList.remove('reftest-wait');
}, 3000);
</script>
<style>
.test {
width: 128px;
height: 64px;
background-color: white;
background-image:
linear-gradient(45deg, #ccc 25%, transparent 25%),
linear-gradient(-45deg, #ccc 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #ccc 75%),
linear-gradient(-45deg, transparent 75%, #ccc 75%);
background-size: 16px 16px;
background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}
</style>
<body>
<p>Test passes if this flashes yellow for one second, then stays blue forever</p>
<div class="test"><img src="support/031.png" alt=""></div>
</body>