Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>scale in the transform attribute resizes the outermost svg element's box, inline in an HTML document</title>
<link rel="match" href="reference/outer-svg-transform-in-html-scale-ref.html">
<style>
body { margin: 0 }
svg { display: block }
</style>
<svg width="200" height="100" transform="scale(0.5)">
<rect width="200" height="100" fill="green"/>
</svg>