summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/clip-path-localRef-1-ref.html
blob: d605e046fc2dda5e63f808a10dd42b35342d998d (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
25
26
27
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>Reference for clip-path linked to local-ref URL</title>
    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <svg height="0" width="0">
      <defs>
        <clipPath id="c1">
          <circle cy="110" cx="137" r="90" />
        </clipPath>
      </defs>
    </svg>
    <style>
      div {
        width: 300px;
        height: 300px;
        background-color: blue;
        clip-path: url(#c1);
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>