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-empty-size.svg
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<title>Testcase for mask with empty size</title>
<mask id="m1" width="1" height="0">
<rect x="0" y="0" width="100" height="100" style="stroke:none; fill: #ffffff"/>
</mask>
<!-- Since the size of m1 is empty, the following rect should be invisible. -->
<rect width="100" height="100" fill="blue" mask="url(#m1)"/>
</svg>