summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/dynamic-reflow-01.svg
blob: a882ac8c7b28de3c30847845678cc55f1b482394 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
  <rect id="test" x="100" y="100" width="100" height="100"/>
  <script>
    window.onload = function() {
      var node = document.getElementById("test");
      node.style.width = "200px";      
    }
  </script>
</svg>