acTL-plays-two-manual.html (1202B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>PNG Third Edition: animated PNG, plays</title> 4 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> 5 <link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation"> 6 <link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk"> 7 <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."> 8 <style> 9 .test { 10 width: 128px; 11 height: 64px; 12 background-color: white; 13 background-image: 14 linear-gradient(45deg, #ccc 25%, transparent 25%), 15 linear-gradient(-45deg, #ccc 25%, transparent 25%), 16 linear-gradient(45deg, transparent 75%, #ccc 75%), 17 linear-gradient(-45deg, transparent 75%, #ccc 75%); 18 background-size: 16px 16px; 19 background-position: 0 0, 0 8px, 8px -8px, -8px 0px; 20 } 21 </style> 22 <body> 23 <p>Test passes if this flashes yellow for one second, then 24 blue for one second, then yellow for one second, then blue forever.</p> 25 <div class="test"><img src="../support/032.png" alt=""></div> 26 </body>