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-02.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>