summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-transformed-01.svg
blob: 254c3e96668597adb1c300bf1d60567f3cb54f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
  <defs>
    <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
      <rect x="0" y="0" width="1" height="1" fill="white"/>
    </mask>
  </defs>
  <foreignObject width="100%" height="100%" transform="scale(0.5)">
    <svg style="width:100%; height:100%;">
      <rect width="100%" height="100%" fill="lime" mask="url(#m1)"/>
    </svg>
  </foreignObject>
</svg>