summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg')
-rw-r--r--testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg b/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg
new file mode 100644
index 0000000000..653856de21
--- /dev/null
+++ b/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units.svg
@@ -0,0 +1,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 width='50vw' height='50vh' fill='green'/&gt;&lt;/svg&gt;"
+ width="200" height="200"/>
+</svg>