summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/currentColor-override-lighting-ref.svg
blob: a9fdd2d4eb55fef05691dbb9753b019cd740c75a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<svg xmlns="http://www.w3.org/2000/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>