summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/clipPath-basic-06.svg
blob: 46e268e7da12d282aa61117909b6dbdaf1491289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">

  <title>Testcase for non-rectilinear clipPath</title>

  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=797231 -->

  <clipPath id="cp">
    <ellipse cx="60" cy="60" rx="60" ry="60"/>
  </clipPath>

  <rect width="100%" height="100%" fill="lime"/>
  <circle cx="60" cy="60" r="58" fill="red"/>
  <rect width="200" height="200" fill="lime" clip-path="url(#cp)"/>

</svg>