Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/objectBoundingBox-and-fePointLight-02-ref.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>Reference for objectBoundingBox with fePointLight</title>
<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>