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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 -->
     6 <!DOCTYPE html>
     7 <title>Test mask reference in binding for mask in bound document with external binding</title>
     9 <body style="margin:0">
    10   <div style="-moz-binding: url(mask-html-xbl-bound-01.xbl#lime);"></div>
    12   <svg height="0">
    13     <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
    14       <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1">
    15         <stop stop-color="white" offset="0"/>
    16         <stop stop-color="white" stop-opacity="0" offset="1"/>
    17       </linearGradient>
    18       <circle cx="0.25" cy="0.25" r="0.25" id="circle" fill="white"/>
    19       <rect x="0.5" y="0" width="0.5" height="1" fill="url(#g)"/>
    20     </mask>
    21   </svg>
    22 </body>

mercurial