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/filters/feMorphology-radius-zero-02.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test 'feMorphology' with a zero value for its 'radius'</title>
<!--
The zero value should disable the primitive effect and output
the input image.
-->
<filter id="f1">
<feMorphology operator="dilate" radius="0"/>
</filter>
<filter id="f2">
<feMorphology operator="dilate" radius="0 50"/>
</filter>
<rect width="100%" height="100%" fill="red"/>
<rect width="50%" height="100%" fill="lime" filter="url(#f1)"/>
<rect x="50%" width="50%" height="100%" fill="lime" filter="url(#f2)"/>
</svg>