mix-blend-mode-blended-element-overflow-hidden-and-border-radius-ref.html (1238B)
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="Ion Roșca" href="mailto:rosca@adobe.com"> 8 <link rel="reviewer" title="Mihai Țică" href="mailto:mitica@adobe.com"> 9 <style type="text/css"> 10 .parent { 11 background: aqua;/*rgb(0,255,255);*/ 12 width: 150px; 13 height: 150px; 14 position: relative; 15 z-index: 1; 16 } 17 .blended { 18 width: 150px; 19 height: 150px; 20 overflow: hidden; 21 border-radius: 2em 2em; 22 } 23 .childOfBlended { 24 background: lime;/*rgb(0,255,0);*/ 25 width: 150px; 26 height: 150px; 27 } 28 </style> 29 </head> 30 <body> 31 <p>The test passes if you see a lime rectangle with aqua rounded corners.</p> 32 <div class="parent"> 33 <div class="blended"> 34 <div class="childOfBlended"> 35 </div> 36 </div> 37 </div> 38 </body> 39 </html>