Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/svg/filters/reftest.list
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test 'feMorphology' with a negative value for its 'radius'</title>
<!--
The negative value should disable the primitive effect and output
the input image.
-->
<filter id="f1">
<feMorphology operator="dilate" radius="-1"/>
</filter>
<filter id="f2">
<feMorphology operator="dilate" radius="-1 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>