apng-blue-rect-checkerboard-ref.html (876B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>PNG Third Edition: animated PNG, dispose ops and regions</title> 5 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> 6 <style> 7 .test { 8 width: 128px; 9 height: 64px; 10 background-color: white; 11 background-image: 12 linear-gradient(45deg, #ccc 25%, transparent 25%), 13 linear-gradient(-45deg, #ccc 25%, transparent 25%), 14 linear-gradient(45deg, transparent 75%, #ccc 75%), 15 linear-gradient(-45deg, transparent 75%, #ccc 75%); 16 background-size: 16px 16px; 17 background-position: 0 0, 0 8px, 8px -8px, -8px 0px; 18 } 19 </style> 20 <body> 21 <p>Test passes if you see solid blue rectangle containing a smaller region with a grey checkerboard, and no red.</p> 22 <div class="test"><img src="support/blue-with-hole.png" alt=""></div> 23 </body> 24 </html>