summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html
blob: 5a20fe505237346e6d431c40e21561eb9bed24ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 -->
<!DOCTYPE html>
<title>Test mask reference in binding for mask in bound document with external binding</title>

<body style="margin:0">
  <div style="-moz-binding: url(mask-html-xbl-bound-01.xbl#lime);"></div>
  
  <svg height="0">
    <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
      <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1">
        <stop stop-color="white" offset="0"/>
        <stop stop-color="white" stop-opacity="0" offset="1"/>
      </linearGradient>
      <circle cx="0.25" cy="0.25" r="0.25" id="circle" fill="white"/>
      <rect x="0.5" y="0" width="0.5" height="1" fill="url(#g)"/>
    </mask>
  </svg>
</body>