]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Test data: Add SVG with missing stroke gradient definition.
authorMichael Drake <tlsa@netsurf-browser.org>
Wed, 26 Oct 2016 15:06:45 +0000 (16:06 +0100)
committerMichael Drake <tlsa@netsurf-browser.org>
Wed, 26 Oct 2016 15:06:45 +0000 (16:06 +0100)
bad-grad.svg [new file with mode: 0644]

diff --git a/bad-grad.svg b/bad-grad.svg
new file mode 100644 (file)
index 0000000..4a3d26d
--- /dev/null
@@ -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>
+