gecko-dev/layout/reftests/svg/current-translate-01.svg

9 строки
313 B
XML

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