blob: dc992f64452abae746ceb6d1ae72eeafb21e9da2 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="fuzzy" content="maxDifference=0-60; totalPixels=0-788">
<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>