From 007a73293a1394e1d08102a0ea7fab38e9c90e73 Mon Sep 17 00:00:00 2001 From: Sebastien Ponce Date: Thu, 12 Jan 2023 18:19:30 +0100 Subject: [PATCH] Added test of external svg with no width/height attribute --- tests/assets/imageViewPortOnly.svg | 46 ++++++++++++++++++++++++++ tests/reftests/images/svg/nowidth.html | 17 ++++++++++ 2 files changed, 63 insertions(+) create mode 100644 tests/assets/imageViewPortOnly.svg create mode 100644 tests/reftests/images/svg/nowidth.html diff --git a/tests/assets/imageViewPortOnly.svg b/tests/assets/imageViewPortOnly.svg new file mode 100644 index 0000000..03d44c2 --- /dev/null +++ b/tests/assets/imageViewPortOnly.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SVG + + + + + + + + + + diff --git a/tests/reftests/images/svg/nowidth.html b/tests/reftests/images/svg/nowidth.html new file mode 100644 index 0000000..a85a475 --- /dev/null +++ b/tests/reftests/images/svg/nowidth.html @@ -0,0 +1,17 @@ + + + + Image tests + + + + + + SVG taints image:
+ + +