summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-10-26 16:06:45 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2016-10-26 16:06:45 +0100
commit2ec1f74153c4a53252bdeee55e0fde14706ca598 (patch)
treecfb7ecaeba8b4c4a8d01a5f565223f3927216883
parent1d2996a366f1b34ff114319087cf1989c96dc398 (diff)
downloadlibsvgtiny-2ec1f74153c4a53252bdeee55e0fde14706ca598.tar.gz
libsvgtiny-2ec1f74153c4a53252bdeee55e0fde14706ca598.tar.bz2
Test data: Add SVG with missing stroke gradient definition.tlsa/fix-gradients
-rw-r--r--bad-grad.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/bad-grad.svg b/bad-grad.svg
new file mode 100644
index 0000000..4a3d26d
--- /dev/null
+++ b/bad-grad.svg
@@ -0,0 +1,10 @@
+<svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <linearGradient id="foo">
+ <stop stop-color="#69f" offset="0"/>
+ <stop stop-color="#468" offset="1"/>
+ </linearGradient>
+ </defs>
+ <path fill="url(#foo)" stroke='url(#bar)' d='M10 10 H 90 V 90 H 10 Z' />
+</svg>
+