summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-pct-px.svg
blob: 37afdef686b80448565f2a6ba6055f9399266b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="200px" height="200px"
     class="reftest-wait"
     onload="go()">
  <style>
    rect { stroke: blue; stroke-width: 5%; }
  </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" : "stroke-width",
                           "from"          : "5%",
                           "to"            : "30px" };
      testAnimatedRectGrid("animate", [animAttrHash]);
    }
  </script>
</svg>