Source code
Revision control
Copy as Markdown
Other Tools
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<title>Width and Height (in calc) as presentation attributes on nested svg</title>
<html:link rel="match" href="nested-svg-sizing-expected.svg" />
<svg style="width:calc(100% - 50px);height:calc(100% - 50px);">
<circle cx="50" cy="50" r="40" fill="green" />
</svg>
</svg>