mix-blend-mode-parent-with-border-radius-ref.html (1156B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Reftest Reference</title> 6 <link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com"> 7 <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com"> 8 <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com"> 9 <link rel="reviewer" title="Horia Olaru" href="mailto:olaru@adobe.com"> 10 <style type="text/css"> 11 body { 12 background: lightgray; 13 } 14 .parent { 15 position: absolute; 16 z-index: 1; 17 width: 100px; 18 height: 100px; 19 background: #FF0; 20 } 21 .blended { 22 background: #0F0; 23 width: 100px; 24 height: 100px; 25 border-radius: 50px; 26 } 27 </style> 28 </head> 29 <body> 30 <p>Test passes if a green circle is drawn on top of a yellow square, over a lightgray background.</p> 31 <div class="parent"> 32 <div class="blended"></div> 33 </div> 34 </body> 35 </html>