summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-shape-004-ref.html
blob: b74e6abdd9e7c02adf5392f02854ee61f05bc38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
  <title>Reference of CSS Masking: Test clip-path property and shape function with nonzero fill</title>
  <link rel="help" href="https://drafts.csswg.org/css-shapes-2/#funcdef-shape">
</head>
<style>
  #ref {
    width: 100px;
    height: 100px;
    background-color: green;
    clip-path: path(nonzero, "M 20 20 A 25 12 0 0 1 80 20 a 33 33 120 1 1 -40 50 A 20 25 0 0 0 20 20");
  }
</style>
<body>
  <div id="ref"></div>
</body>
</html>