fcTL-dispose-background-final.html (1335B)
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="Chris Lilley" href="mailto:chris@w3.org"> 6 <link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation"> 7 <link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk"> 8 <link rel="match" href="apng-lime-rectangle-ref.html"> 9 <meta name="assert" content="the frame's region of the output buffer is to be cleared to fully transparent black before rendering the next frame."> 10 <script> 11 const el = document.querySelector(".reftest-wait"); 12 setTimeout(() => { 13 el.classList.remove('reftest-wait'); 14 }, "1200"); 15 </script> 16 <style> 17 .test { 18 width: 128px; 19 height: 64px; 20 background-color: white; 21 background-image: 22 linear-gradient(45deg, #ccc 25%, transparent 25%), 23 linear-gradient(-45deg, #ccc 25%, transparent 25%), 24 linear-gradient(45deg, transparent 75%, #ccc 75%), 25 linear-gradient(-45deg, transparent 75%, #ccc 75%); 26 background-size: 16px 16px; 27 background-position: 0 0, 0 8px, 8px -8px, -8px 0px; 28 } 29 </style> 30 <body> 31 <p>Test passes if you see a lime green rectangle, and no red.</p> 32 <div class="test"><img src="support/009.png" alt=""></div> 33 </body> 34 </html>