summaryrefslogtreecommitdiffstats
path: root/libxml2/test/SVG/lin-gradient.xml
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/SVG/lin-gradient.xml')
-rwxr-xr-xlibxml2/test/SVG/lin-gradient.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/libxml2/test/SVG/lin-gradient.xml b/libxml2/test/SVG/lin-gradient.xml
new file mode 100755
index 0000000..8ace2b4
--- /dev/null
+++ b/libxml2/test/SVG/lin-gradient.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN"
+ "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Linear gradient example
+ </desc>
+ <g>
+ <defs>
+ <lineargradient id="MyGradient">
+ <gradientstop offset="0%" color="#F60"/>
+ <gradientstop offset="70%" color="#FF6"/>
+ </lineargradient>
+ </defs>
+ <rect style="fill: url(#MyGradient)" width="20" height="15.8"/>
+ </g>
+</svg>