summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-empty-size.svg
blob: 161c8b36b2c05d78245641668719af6337ea815e (plain)
1
2
3
4
5
6
7
8
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
  <title>Testcase for mask with empty size</title>
  <mask id="m1" width="1" height="0">
    <rect x="0" y="0" width="100" height="100" style="stroke:none; fill: #ffffff"/>
  </mask>
  <!-- Since the size of m1 is empty, the following rect should be invisible. -->
  <rect width="100" height="100" fill="blue" mask="url(#m1)"/>
</svg>