summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/current-translate-01.svg
blob: 27e775262445f4f1f5f52874cd394260cf2e63a4 (plain)
1
2
3
4
5
6
7
8
<svg xmlns="http://www.w3.org/2000/svg">
  <script>
    SVGPoint.prototype.setXY = function(c,d){this.x=c;this.y=d}
    document.documentElement.currentTranslate.setXY(200, 200);
  </script>
  <rect width="100%" height="100%" fill="red"/>
  <rect x="-200" y="-200" width="100%" height="100%" fill="lime"/>
</svg>