Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/nested-svg-sizing-with-use.svg - WPT Dashboard Interop Dashboard
<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<title>Width and Height as presentation attributes on nested svg</title>
<html:link rel="match" href="nested-svg-sizing-with-use-expected.svg" />
<defs>
<svg id="target" style="width:50px; height:50px;">
<circle cx="50" cy="50" r="40" fill="green" />
</svg>
</defs>
<use href="#target"/>
</svg>