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