blob: fd679aaa7f9e8cfeed3f675eeb290703174f2753 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=26000-26100" />
<style>
.box {
width: 300px;
height: 300px;
background-color: blue;
}
.composited {
-webkit-transform: translateZ(0);
}
.clipped {
-webkit-clip-path: inset(0 50px);
-webkit-mask: linear-gradient(transparent, black);
}
</style>
</head>
<body>
<div class="clipped composited box">asdf</div>
</body>
</html>