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.

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

mercurial