summaryrefslogtreecommitdiff
path: root/layout/reftests/svg/smil/anim-feSpotLight-01.svg
blob: 011a9ecff909a1d001ce1e6eca354f805f918b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="setTimeAndSnapshot(1, true)">
  <title>Testcase for animation of the "elevation" attribute of the "feSpotLight" element</title>
  <script xlink:href="smil-util.js" type="text/javascript"/>
  <defs>
    <filter id="f" x="0" y="0" width="0.5" height="0.5">
      <feSpecularLighting surfaceScale="5" specularConstant=".75"
                          specularExponent="20" lighting-color="lime">
        <feSpotLight x="0.25" y="0.25" z="0">
          <animate attributeName="z"
                   calcMode="linear"
                   begin="0s" dur="2s"
                   from="0" to="200"
                   fill="freeze"/>
        </feSpotLight>
      </feSpecularLighting>
    </filter>
  </defs>
  <path d="M0,0 h100 v100 h-100 z" filter="url(#f)"/>
</svg>