blob: 4dd113b5f72016e70335d6bcd2870f05d6d5fa34 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
margin: 0;
}
.circle-clip-path {
width: 200px;
height: 200px;
background-color: green;
-webkit-clip-path: circle(100px at 100px 100px);
}
.red-marker {
/* We position a red dot behind, so that it is obvious when the test is failing. */
position: absolute;
top: 250px;
left: 50px;
width: 100px;
height: 100px;
background-color: red;
border-radius: 50px;
}
</style>
</head>
<body>
<!-- Testing that the clip-path of the first element doesn't clip the second element. You should see two green circles and no red. -->
<div class="red-marker"></div>
<div class="circle-clip-path"></div>
<div class="circle-clip-path"></div>
</body>
</html>