<svg xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:h="http://www.w3.org/1999/xhtml"> | |
<metadata> | |
<title><image> embedding SVG image with viewport units</title> | |
<h:link rel="match" href="reference/green-rect-100x100.svg"/> | |
</metadata> | |
<image xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect style='width: 50vw; height: 50vh' fill='green'/></svg>" | |
width="200" height="200"/> | |
</svg> |