[librsvg: 1/3] Add test for #609 - clipPath ignores its `transform` attribute
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/3] Add test for #609 - clipPath ignores its `transform` attribute
- Date: Thu, 20 Aug 2020 17:51:12 +0000 (UTC)
commit 6cfe14a8065c1cf5fae1c70bfea8673a0032a8e4
Author: Sven Neumann <sven svenfoo org>
Date: Thu Aug 20 16:25:34 2020 +0200
Add test for #609 - clipPath ignores its `transform` attribute
.../reftests/bugs/609-clippath-transform-ref.png | Bin 0 -> 231 bytes
.../reftests/bugs/609-clippath-transform.svg | 23 +++++++++++++++++++++
2 files changed, 23 insertions(+)
---
diff --git a/tests/fixtures/reftests/bugs/609-clippath-transform-ref.png
b/tests/fixtures/reftests/bugs/609-clippath-transform-ref.png
new file mode 100644
index 000000000..58924a21f
Binary files /dev/null and b/tests/fixtures/reftests/bugs/609-clippath-transform-ref.png differ
diff --git a/tests/fixtures/reftests/bugs/609-clippath-transform.svg
b/tests/fixtures/reftests/bugs/609-clippath-transform.svg
new file mode 100644
index 000000000..a689a06bd
--- /dev/null
+++ b/tests/fixtures/reftests/bugs/609-clippath-transform.svg
@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ width="100"
+ height="100">
+
+ <rect width="100"
+ height="100"
+ x="0"
+ y="0"
+ fill="black" />
+
+ <rect clip-path="url(#clip)"
+ width="100"
+ height="100"
+ x="0"
+ y="0"
+ fill="red" />
+
+ <defs>
+ <clipPath id="clip" transform="translate(25, 25)">
+ <rect width="50" height="50" x="0" y="0"/>
+ </clipPath>
+ </defs>
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]