blob: dbefdcf595494ac3dccf61e83399c5d732f38414 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 300px;
height: 300px;
background-color: blue;
}
.composited {
-webkit-transform: translateZ(0);
}
.clipped {
-webkit-clip-path: inset(0 50px);
}
</style>
</head>
<body>
<div class="clipped composited box"></div>
</body>
</html>