summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-image-filter-transform-ref.html
blob: d040e160a9d80662e27cf92e7fa0e2f4b9029d6f (plain)
1
2
3
4
5
6
7
<svg width="400" height="400">
  <mask id="m">
    <image x="20" y="20" width="100" height="100"
           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>" />
  </mask>
  <rect mask="url(#m)" x="50" y="50" width="50%" height="50%" fill="black"></rect>
</svg>