summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-root-svg.svg
blob: e5a2ed582be17b0da424cbd55ed8e5670337b141 (plain)
1
2
3
4
5
6
7
8
9
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" mask="url(#mask1)">
  <defs>
    <mask id="mask1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox" x="0" y="0" width="0.5" height="0.5">
      <rect x="0" y="0" width="1" height="1" style="stroke:none; fill: #ffffff"/>
    </mask>
  </defs>
  <rect width="50%" height="50%" fill="white"/>
  <rect x="30%" y="30%" width="20%" height="20%" fill="lime"/>
</svg>