Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/struct/reftests/outer-svg-transform-in-html.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>transform attribute on the outermost svg element, inline in an HTML document</title>
<link rel="match" href="reference/outer-svg-transform-in-html-ref.html">
<style>
body { margin: 0 }
svg { display: block }
</style>
<svg width="100" height="100" transform="translate(100,0)">
<rect width="100" height="100" fill="green"/>
</svg>