tenfourfox/layout/reftests/svg/objectBoundingBox-and-fePointLight-02-ref.svg

23 lines
802 B
XML
Raw Permalink Normal View History

2017-04-19 07:56:45 +00:00
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Reference for objectBoundingBox with fePointLight</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=619992 -->
<defs>
<filter id="f" primitiveUnits="objectBoundingBox">
<feSpecularLighting lighting-color="blue" surfaceScale="5" specularConstant="10" specularExponent="6">
<fePointLight x="0.875" y="0.875" z="-0.0625"/>
</feSpecularLighting>
</filter>
</defs>
<g transform="translate(50 50)">
<rect x="-40" y="-40" width="80" height="80" filter="url(#f)" fill="none"/>
</g>
</svg>