Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/mask-type-02.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<title>Testcase for alpha mask using the presentation attribute</title>
<mask id="m" maskContentUnits="objectBoundingBox" mask-type="alpha">
<rect x=".1" y=".1" width=".8" height=".8" fill="black" fill-opacity="0.5"/>
</mask>
<rect width="100" height="100" fill="blue" mask="url(#m)"/>
</svg>