summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/current-translate-02.svg
blob: 8e272138e0172f3599621728d6504657fbbdbff2 (plain)
1
2
3
4
5
6
7
8
9
10
<svg xmlns="http://www.w3.org/2000/svg">
  <script>
    onload = function() {
      document.documentElement.currentTranslate.x = 200;
      document.documentElement.currentTranslate.y = 200;
    };
  </script>
  <rect width="100%" height="100%" fill="red"/>
  <rect x="-200" y="-200" width="100%" height="100%" fill="lime"/>
</svg>