gecko-dev/layout/reftests/bugs/1412375.html
Alexis Beingessner 545f6207bd Bug 1412375 - Add reftest for atomicity of masks. r=kats
MozReview-Commit-ID: 7rckMw1DWFj

--HG--
extra : rebase_source : 8de286b236e1ea68178d8c908a308365f4e169b9
2018-04-11 16:19:03 -04:00

32 lines
490 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Masks need to cause grouping / intermediate surfaces</title>
<style>
.outer {
/* should give similar results to opacity: 0.5 */
mask: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}
.box {
width: 100px;
height: 100px;
}
.one {
background: green;
}
.another {
background: blue;
margin-top: -50px;
margin-left: 50px;
}
</style>
<div class="outer">
<div class="one box"></div>
<div class="another box"></div>
</div>