summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-type-01.svg
blob: 1e83b457b70900d8f909089a67722e4748c45322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">

  <title>Testcase for alpha mask</title>

  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=793617 -->

  <mask id="m" maskContentUnits="objectBoundingBox" style="mask-type: alpha">
    <rect x=".1" y=".1" width=".8" height=".8" fill="black" fill-opacity="0.5"/>
  </mask>
  <rect width="100" height="100" fill="blue" mask="url(#m)"/>
</svg>