summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/blend-layer-mask.svg
blob: 8978b7fdc7bd90890d009e6914f6e17d3df1f8cd (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" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400" >
<defs>
  <mask id="msk">
    <rect x="10" y="10" width="20" height="20" />
  </mask>
</defs>
<rect x="0" y="0" width="160" height="160" fill="rgb(0,255,0)"/>
<g mask="url(#msk)">
  <rect x="40" y="40" width="80" height="80" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
</g>
</svg>