layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 -->
     1.9 +<!DOCTYPE html>
    1.10 +<title>Test mask reference in binding for mask in bound document with external binding</title>
    1.11 +
    1.12 +<body style="margin:0">
    1.13 +  <div style="-moz-binding: url(mask-html-xbl-bound-01.xbl#lime);"></div>
    1.14 +  
    1.15 +  <svg height="0">
    1.16 +    <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
    1.17 +      <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1">
    1.18 +        <stop stop-color="white" offset="0"/>
    1.19 +        <stop stop-color="white" stop-opacity="0" offset="1"/>
    1.20 +      </linearGradient>
    1.21 +      <circle cx="0.25" cy="0.25" r="0.25" id="circle" fill="white"/>
    1.22 +      <rect x="0.5" y="0" width="0.5" height="1" fill="url(#g)"/>
    1.23 +    </mask>
    1.24 +  </svg>
    1.25 +</body>

mercurial