mix-blend-mode-stacking-context-creates-isolation-ref.html (1492B)
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 <style> 8 .container{ 9 margin: 30px; 10 width: 130px; 11 height: 130px; 12 float: left; 13 background: yellow;/*rgb(255,255,0);*/ 14 } 15 .simple{ 16 background: lime;/* rgb(0,255,0);*/ 17 width: 100px; 18 height: 100px; 19 position: fixed; 20 } 21 .mixed { 22 background: red;/*rgb(255,0,0);*/ 23 margin-top: 20px; 24 margin-left: 20px; 25 width: 100px; 26 height: 100px; 27 } 28 .overlap { 29 background: black;/*rgb(0,0,0);*/ 30 width: 80px; 31 height: 80px; 32 } 33 </style> 34 </head> 35 <body> 36 <p>Test passes if there is no complete red square on the screen. <br> 37 You should see two overlapping lime and red squares on top of a yellow one. <br> 38 At the intersection of the lime and red squares, a black square will be created. </p> 39 <div class="container"> 40 <div class="simple"> 41 <div class="mixed"> 42 <div class="overlap"></div> 43 </div> 44 </div> 45 </div> 46 </body> 47 </html>