summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/painting/currentColor-override-pserver-fill-ref.svg
blob: c86b77931b40024c1c7ce4601fd4d6ce6f87b1d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
<svg xmlns="http://www.w3.org/2000/svg">
  <!-- pattern inherits fill color via currentcolor -->
  <defs>
    <pattern id="MyPattern" patternUnits="userSpaceOnUse"
             x="5" y ="5" width="10" height="10">
      <circle fill="limegreen" cx="5" cy="5" r="5" />
    </pattern>
  </defs>

  <circle color="blue" stroke="black" fill="url(#MyPattern)" cx="50" cy="50" r="40" />
</svg>