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/transform/transform-origin-svg-2a.svg
<g transform="translate(30,30)">
<!-- transform-origin specifies a point in user space -->
<rect x='10' y='10' width='100' height='100' fill='blue' stroke-width='20' stroke='black'
style="transform:rotate(90deg); transform-origin:10px 110px;"/>
</g>
</svg>