summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-type-02.svg
blob: f3679b3c8a15e443d5d203056ea2ce7f68907b01 (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 using the presentation attribute</title>

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

  <mask id="m" maskContentUnits="objectBoundingBox" 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>