summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units-inline-style.svg
blob: 7ef2655dc91c815d57d1496d2e5707d54ac94c5d (plain)
1
2
3
4
5
6
7
8
9
10
<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>&lt;image&gt; 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,&lt;svg xmlns='http://www.w3.org/2000/svg'&gt;&lt;rect style='width: 50vw; height: 50vh' fill='green'/&gt;&lt;/svg&gt;"
         width="200" height="200"/>
</svg>