scour/unittests/unreferenced-defs.svg
Eduard Braun fe2884c3e8 Don't remove unreferenced defs if --keep-unreferenced-defs is specified (#62)
* Don't remove unreferenced defs if `--keep-unreferenced-defs` is specified
(fixes #18)

* Add unittests for previous commit
2016-08-14 18:52:55 +02:00

19 lines
729 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="linearGradient">
<stop offset="0"/>
<stop offset="1" stop-color="blue"/>
</linearGradient>
<radialGradient id="radialGradient">
<stop offset="0"/>
<stop offset="1" stop-color="blue"/>
</radialGradient>
<pattern id="pattern">
<polygon fill="none" points="71.125,-1.896 2.125,-1.896 2.125,-70.896 71.125,-70.896"/>
</pattern>
<rect id="rect" width="50" height="50"/>
<circle id="circle" width="100" height="100"/>
</defs>
<use x="10" y="10" xlink:href="#rect" fill="url(#linearGradient)"/>
</svg>