Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/current-translate-01.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>