blob: d5b1df5608979d7c05e754e220e487e7092cc888 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests proper clip-path masking when content is on subpixel position and the parent is composited too.</title>
<style>
.clip-path-content {
transform: translateZ(0);
position: relative;
left: 1px;
top: 0px;
height: 50px;
width: 100px;
background-color: black;
-webkit-clip-path: inset(20px 0px 0px 0px);
}
</style>
</head>
<body>
<div class=clip-path-content></div>
</body>
</html>