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/nested-svg-through-display-contents.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0"?>
<svg viewBox="0 0 400 400" width="400" height="400" stroke="none" id="s1"
<h:link rel="match" href="reference/green-100x100.svg"/>
<rect x="0" y="0" width="100" height="100" fill="green"></rect>
<h:div style="display: contents">
<svg width="300" height="300">
<rect x="5" y="5" width="100" height="100" fill="red"></rect>
</svg>
</h:div>
</svg>