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/transform-origin-presentation-01.svg
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 200 100" preserveAspectRatio="none">
<rect width="200" height="100" fill="red"/>
<rect width="100" height="200" x="50" y="-50" fill="lime" transform="rotate(90)" transform-origin="center"/>
</svg>