summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/style/anim-css-fill-2-paced-rgb.svg
blob: 4c1e16c53f214e6a3ce9233d42683e08f8fa91b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="go()">
  <style>
    rect { fill: yellow; stroke: black; }
  </style>
  <script xlink:href="../smil-grid.js" type="text/javascript"/>
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <script>
    function go() {
      var animAttrHash = { "attributeName" : "fill",
                           "calcMode"      : "paced",
                           "values" : "rgb(0, 10, 20); " +
                                      "rgb(20, 50, 80); " +
                                      "rgb(140, 130, 120)" };
      testAnimatedRectGrid("animate", [animAttrHash]);
    }
  </script>
</svg>