summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/animations/clip-path-path-interpolation-002-ref.html
blob: 567764a30124c2bc8821a508e2a7f8b6f0787c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
  <title>CSS Masking: Reference for clip-path's path evenodd interpolation</title>
  <style type="text/css">
    #rect {
      width: 100px;
      height: 100px;
      background-color: green;
      clip-path: url("#clip");
    }
  </style>
</head>
<body>
  <div id="rect"></div>
  <svg height="0" width="0">
    <defs>
      <clipPath id="clip">
        <path clip-rule="evenodd" d="M35,35 H90 V90 H35Z M25,25 H70 V70 H25Z"/>
      </clipPath>
    </defs>
  </svg>
</body>
</html>