diff options
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.svg | 15 |
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 <image> 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> |