Files
servo/tests/wpt/css-tests/compositing-1_dev/html/reference/mix-blend-mode-both-parent-and-blended-with-3D-transform-ref.htm

41 lines
1.3 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: 140px;
height: 140px;
padding-top: 1px;
transform:rotateX(20deg);
}
.blended {
background: fuchsia;/*rgb(255,0,255);*/
margin-top: 20px;
margin-left: 20px;
width: 200px;
height: 200px;
transform:rotateX(20deg);
}
.childOfBlended {
background: yellow;/*rgb(255,255,0);*/
width: 120px;
height: 122px;
}
</style>
</head>
<body>
<p>You should see a fuchsia square overlapping an aqua square. <br>
The overlapping area should be yellow. </p>
<div class="parent">
<div class="blended">
<div class="childOfBlended"></div>
</div>
</div>
</body></html>