summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg')
-rw-r--r--testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg b/testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg
new file mode 100644
index 0000000000..4409ee32a9
--- /dev/null
+++ b/testing/web-platform/tests/svg/embedded/image-fractional-width-vertical-fidelity.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
+ <title>Vertical fidelity of &#x3c;image&#x3e; element with fractional width</title>
+ <h:link rel="help" href="https://svgwg.org/svg2-draft/embedded.html#ImageElement"/>
+ <h:link rel="match" href="reference/green-rect-100x100.svg"/>
+ <rect x="95" width="5" height="100" fill="green"/>
+ <rect width="95" height="100" fill="red"/>
+ <g clip-path="url(#c)">
+ <clipPath id="c">
+ <rect width="95" height="100"/>
+ </clipPath>
+ <image href="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMinYMin'%3e
+ %3crect width='100' height='100' fill='green'/%3e%3c/svg%3e"
+ width="101.2" height="100"/>
+ </g>
+</svg>