gecko-dev/layout/reftests/svg/filters/feDistantLight-filterRes-01...

20 строки
671 B
XML

<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
-->
<svg xmlns="http://www.w3.org/2000/svg">
<title>Testcase for feDistantLight with filterRes larger than filter region</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=610466 -->
<defs>
<filter id="f" x="0" y="0" width="0.5" height="0.5" filterRes="60 60">
<feDiffuseLighting kernelUnitLength="1" lighting-color="lime">
<feDistantLight elevation="100"/>
</feDiffuseLighting>
</filter>
</defs>
<svg clip="rect(1px 1px 48px 48px)">
<path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>
</svg>