Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/dom/svg/test/viewport-helper.svg
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="750"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
<symbol id="sym">
<rect width="0" height="0" id="symbolRect"/>
</symbol>
</defs>
<svg id="inner">
<g id="g1">
</g>
</svg>
<foreignObject>
<svg id="outer">
<g id="g2">
</g>
</svg>
</foreignObject>
<!-- something invalid -->
<foreignObject>
<g id="g3">
</g>
</foreignObject>
<use xlink:href="#sym" id="use"/>
</svg>