gecko-dev/layout/reftests/svg/mask-root-svg.svg
cku 41457fd44b Bug 1345946 - Part 2. Test that an SVG mask applied to an outer-<svg> uses its frame bounds. r=jwatt
MozReview-Commit-ID: 6wFsawrHqWi

--HG--
extra : rebase_source : 4c25b93136bc7b72fef060a0258010ace6756d31
2017-03-24 10:43:17 +08:00

10 lines
431 B
XML

<svg xmlns="http://www.w3.org/2000/svg" version="1.0" mask="url(#mask1)">
<defs>
<mask id="mask1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox" x="0" y="0" width="0.5" height="0.5">
<rect x="0" y="0" width="1" height="1" style="stroke:none; fill: #ffffff"/>
</mask>
</defs>
<rect width="50%" height="50%" fill="white"/>
<rect x="30%" y="30%" width="20%" height="20%" fill="lime"/>
</svg>