scour/unittests/remove-duplicate-gradients.svg
2015-12-06 19:59:06 +01:00

23 lines
1.3 KiB
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">
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="red"/>
<stop offset="1" stop-color="blue"/>
</linearGradient>
<linearGradient id='g2' x1='0' y1='0' x2='1' y2='1'>
<stop offset='0' stop-color='red'/>
<stop offset='1' stop-color='blue'/>
</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>