summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-image-filter-transform.html
blob: d5196e8327cc87c78737fa0961c0e2d2f4548fc3 (plain)
1
2
3
4
5
6
7
8
9
<svg width="400" height="400" viewBox="0 0 800 800">
  <mask id="m">
    <g transform="scale(.5,.5)">
      <image filter="blur(0)" x="80" y="80" width="400" height="400"
             href="data:image/svg+xml,<svg width='100' height='100' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='red' /></svg>" />
    </g>
  </mask>
  <rect mask="url(#m)" x="100" y="100" width="50%" height="50%" fill="black"></rect>
</svg>