Prevent scour from trying to remove a duplicate gradient more than once

This commit is contained in:
JSCHILL1 2009-08-01 11:59:54 -05:00
parent b119af0499
commit 46f86a0978
4 changed files with 13 additions and 3 deletions

View file

@ -10,9 +10,14 @@
</linearGradient>
<radialGradient xlink:href="#g1" id="g3" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1, 0, 0, 0.481529, -718.417, 98.7046)" cx="323.75433" cy="209.73672" fx="323.75433" fy="209.73672" r="6.2794499"/>
<radialGradient xlink:href="#g2" id="g4" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1, 0, 0, 0.481529, -718.417, 98.7046)" cx="323.75433" cy="209.73672" fx="323.75433" fy="209.73672" r="6.2794499"/>
<linearGradient id='g5' x1='0' y1='0' x2='1' y2='1'>
<stop offset='0' stop-color='red'/>
<stop offset='1' stop-color='blue'/>
</linearGradient>
<rect id="r1" fill="url(#g1)" width="100" height="100"/>
<rect id="r2" stroke="url('#g2')" width="100" height="100"/>
<rect id="r3" stroke="url(#g3)" width="100" height="100"/>
<rect id="r4" fill='url("#g4")' width="100" height="100"/>
<rect id="r5" fill="url(#g5)" width="100" height="100"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After