[librsvg] Add a test for recursive feImage



commit da907ba0371734c0c508fc97fe30df26ab9f59ec
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 15 14:44:44 2019 -0500

    Add a test for recursive feImage

 tests/fixtures/render-crash/recursive-feimage.svg | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/tests/fixtures/render-crash/recursive-feimage.svg 
b/tests/fixtures/render-crash/recursive-feimage.svg
new file mode 100644
index 00000000..6585cc54
--- /dev/null
+++ b/tests/fixtures/render-crash/recursive-feimage.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg";
+     xmlns:xlink="http://www.w3.org/1999/xlink";
+     width="100" height="100">
+  <defs>
+    <filter id="filter">
+      <feImage xlink:href="#foo"/>
+    </filter>
+    <rect id="foo" x="30" y="30" width="30" height="30" filter="url(#filter)"/>
+  </defs>
+
+  <circle cx="50" cy="50" r="50" filter="url(#filter)"/>
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]