blob: e5e925079bb8d8233ab18976a06dafb00e4aa6e1 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>PNG Third Edition: animated PNG, delays</title>
<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">
<meta name="assert" content="delay_num and delay_den define the numerator and denominator of the delay fraction; indicating the time to display the current frame, in seconds.">
<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 blue for half a second, then yellow for one second, then repeats forever. </p>
<div class="test"><img src="../support/026.png" alt=""></div>
</body>