Fix removing unused chained references. Added another test case.

This commit is contained in:
JSCHILL1 2009-04-04 10:48:49 -05:00
parent 2aaef4ebbd
commit 7864455c13
2 changed files with 13 additions and 3 deletions

8
tests/chained.svg Normal file
View file

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="g1" />
<linearGradient id="g2" xlink:href="#g1" />
<linearGradient id="g3" xlink:href="#g2" />
</defs>
<circle cx="50" cy="50" r="20" fill='blue' />
</svg>

After

Width:  |  Height:  |  Size: 274 B