mix-blend-mode-intermediate-element-overflow-hidden-and-border-radius-ref.html (1789B)
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; 12 width: 150px; 13 height: 150px; 14 position: relative; 15 z-index: 1; 16 } 17 .blended { 18 background: yellow; 19 width: 150px; 20 height: 150px; 21 border-radius: 2em 2em; 22 } 23 .blended1 { 24 background: yellow; 25 width: 150px; 26 height: 75px; 27 margin-top: -75px; 28 } 29 .child1 { 30 background: aqua; 31 width: 150px; 32 height: 75px; 33 border-radius: 0 0 2em 2em; 34 } 35 .siblingOfBlended { 36 background: yellow; 37 width: 150px; 38 height: 150px; 39 overflow: hidden; 40 border-radius: 2em 2em; 41 } 42 </style> 43 </head> 44 <body> 45 <p> This test passes if you can see a rectangle split in two pieces: the top half is yellow with aqua rounded borders and the bottom half is aqua with yellow borders.</p> 46 <div class="parent"> 47 <div class="blended"> 48 <div class="child"></div> 49 </div> 50 <div class="blended1"> 51 <div class="child1"></div> 52 </div> 53 </div> 54 </body> 55 </html>