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/currentColor-override-lighting-ref.svg
<!-- the light source is a fePointLight element -->
<filter id="lightMe1">
<feDiffuseLighting
in="SourceGraphic"
result="light"
lighting-color="lime">
<fePointLight x="0" y="0" z="100" />
</feDiffuseLighting>
<feComposite in="SourceGraphic" in2="light" operator="arithmetic" k1="1" k2="0" k3="0" k4="0"/>
</filter>
<rect width="100%" height="100%" fill="white" filter="url(#lightMe1)" />
</svg>