blob: f7058f2b6c6d62fe188b2fe452b8282bf9f51fa5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests proper clip-path masking when content is on subpixel position.</title>
<style>
.clip-path-content {
position: relative;
left: 0.5px;
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>