summaryrefslogtreecommitdiff
path: root/rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg
diff options
context:
space:
mode:
authorMarge Bot <marge-bot@gnome.org>2023-04-25 23:30:10 +0000
committerMarge Bot <marge-bot@gnome.org>2023-04-25 23:30:10 +0000
commit30567b3eac0148e3e95f5dd011ff76bda5000a99 (patch)
tree7d5c56dc2b20f91ccc77aee4dad07830e7eb429a /rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg
parentd597831ff93b09cc41ce4768a833bc6407c95184 (diff)
parent7608c94036d7a44296a7e135f42e84aed20afeb7 (diff)
downloadlibrsvg-30567b3eac0148e3e95f5dd011ff76bda5000a99.tar.gz
Merge branch 'wip/sophie-h/workspace' into 'main'
meta: Move lib and bins into separate crates Closes #950 See merge request GNOME/librsvg!822
Diffstat (limited to 'rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg')
-rw-r--r--rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg14
1 files changed, 14 insertions, 0 deletions
diff --git a/rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg b/rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg
new file mode 100644
index 00000000..d98b5cfb
--- /dev/null
+++ b/rsvg/tests/fixtures/render-crash/gradient-with-empty-bbox.svg
@@ -0,0 +1,14 @@
+<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <linearGradient id="grad1">
+ </linearGradient>
+ <radialGradient id="grad2">
+ </radialGradient>
+ </defs>
+
+ <!-- Use an empty group with a filter, so it will try to resolve the stroke/fill paint servers.
+ Since the group has no children, the paint servers will get an empty bbox.
+ -->
+ <g fill="url(#grad1)" filter="opacity(0.5)"/>
+ <g fill="url(#grad2)" filter="opacity(0.5)"/>
+</svg>