Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/styling/render/transform-origin-not-explicit-style-visual.svg
width="300" height="200" viewBox="0 0 300 200">
<metadata>
<link rel="match" href="transform-origin-not-explicit-style-ref.svg"/>
<h:meta name="assert" content="The transform-origin attribute impacts SVG rendering."/>
</metadata>
<style>
rect {
fill: green;
}
</style>
<g transform="translate(140, 130)">
<rect x="0" y="0" width="40" height="10" transform="scale(2, 3)" transform-origin="30 10"/>
</g>
</svg>