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/objectBoundingBox-and-fePointLight-02.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
<title>Testcase for objectBoundingBox with fePointLight</title>
<defs>
<filter id="f" primitiveUnits="userSpaceOnUse">
<feSpecularLighting lighting-color="blue" surfaceScale="5" specularConstant="10" specularExponent="6">
<fePointLight x="30" y="30" z="-5"/>
</feSpecularLighting>
</filter>
</defs>
<g transform="translate(50 50)">
<rect x="-40" y="-40" width="80" height="80" filter="url(#f)" fill="none"/>
</g>
</svg>