fcTL-dispose-previous-final.html (1406B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <meta charset="utf-8"> 4 <title>PNG Third Edition: animated PNG, dispose ops</title> 5 <link rel="author" title="Philip Taylor" href="mailto:excors@gmail.com"> 6 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> 7 <link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation"> 8 <link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk"> 9 10 <link rel="match" href="apng-lime-rectangle-ref.html"> 11 <meta name="assert" content="the frame's region of the output buffer is to be reverted to the previous contents before rendering the next frame."> 12 <script> 13 const el = document.querySelector(".reftest-wait"); 14 setTimeout(() => { 15 el.classList.remove('reftest-wait'); 16 }, 1200); 17 </script> 18 <style> 19 .test { 20 width: 128px; 21 height: 64px; 22 background-color: white; 23 background-image: 24 linear-gradient(45deg, #ccc 25%, transparent 25%), 25 linear-gradient(-45deg, #ccc 25%, transparent 25%), 26 linear-gradient(45deg, transparent 75%, #ccc 75%), 27 linear-gradient(-45deg, transparent 75%, #ccc 75%); 28 background-size: 16px 16px; 29 background-position: 0 0, 0 8px, 8px -8px, -8px 0px; 30 } 31 </style> 32 <body> 33 <p>Test passes if you see a lime green rectangle, and no red.</p> 34 <div class="test"><img src="support/011.png" alt=""></div> 35 </body> 36 </html>