summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-with-rotation.svg
blob: 9964fd524a1b8eb2815b8f3ecc01e53e6ce8604c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<g id="testmeta">
  <title>CSS Masking: mask with rotation transform</title>
  <html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#svg-masks"/>
  <html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#MaskElement"/>
  <html:link rel="match" href="reference/mask-green-square-001-ref.svg"/>
  <metadata class="flags">svg</metadata>
</g>
<mask id="mask">
  <rect x="50" y="50" width="100" height="100" fill="white"/>
</mask>
<g transform="rotate(0.0001)" mask="url(#mask)">
  <rect transform="rotate(0.0001)" style="will-change: transform"
        width="200" height="200" fill="green"/>
</g>
</svg>