Files
servo/tests/wpt/css-tests/compositing-1_dev/html/reference/mix-blend-mode-blended-element-overflow-hidden-and-border-radius-ref.htm

39 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link href="mailto:mbudaes@adobe.com" rel="author" title="Mirela Budăeș">
<link href="mailto:rosca@adobe.com" rel="author" title="Ion Roșca">
<link href="mailto:mitica@adobe.com" rel="reviewer" title="Mihai Țică">
<style type="text/css">
.parent {
background: aqua;/*rgb(0,255,255);*/
width: 150px;
height: 150px;
position: relative;
z-index: 1;
}
.blended {
width: 150px;
height: 150px;
overflow: hidden;
border-radius: 2em 2em;
}
.childOfBlended {
background: lime;/*rgb(0,255,0);*/
width: 150px;
height: 150px;
}
</style>
</head>
<body>
<p>The test passes if you see a lime rectangle with aqua rounded corners.</p>
<div class="parent">
<div class="blended">
<div class="childOfBlended">
</div>
</div>
</div>
</body></html>