21 lines
380 B
HTML
21 lines
380 B
HTML
<!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: 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>
|