summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg')
-rw-r--r--testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg b/testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg
new file mode 100644
index 0000000000..6340c19d2a
--- /dev/null
+++ b/testing/web-platform/tests/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:h="http://www.w3.org/1999/xhtml">
+ <title>&#x3c;image&#x3e; referencing SVG image with &#x3c;view&#x3e; with 'viewBox'</title>
+ <h:link rel="help" href="https://svgwg.org/svg2-draft/embedded.html#ImageElement"/>
+ <h:link rel="help" href="https://svgwg.org/svg2-draft/linking.html#LinksIntoSVG"/>
+ <h:link rel="match" href="reference/green-rect-100x100.svg"/>
+ <rect x="-355" y="-1110" width="455" height="1210" fill="red"/>
+ <image preserveAspectRatio="none" x="-355" y="-1110" width="455" height="1210"
+ xlink:href="data:image/svg+xml,
+ %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2317 2320'%3e
+ %3cview id='view' preserveAspectRatio='none' viewBox='0 0 455 1210'/%3e
+ %3crect width='455' height='1210' fill='green'/%3e
+ %3c/svg%3e#view"/>
+</svg>