summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-auto-height.svg
blob: 45ebb573762e03a9494a5c6a317c2d8c2ef2fca2 (plain)
1
2
3
4
5
6
7
8
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml" viewBox="0 0 3 3" width="200" height="200">
  <metadata>
    <title>&lt;image&gt; embedding SVG image with auto height</title>
    <h:link rel="match" href="reference/green-rect-100x100.svg"/>
  </metadata>
  <image href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' &gt;&lt;rect width='50' height='50' fill='green'/&gt;&lt;/svg&gt;" width="1.5"/>
</svg>