<svg height=300 width=1000>
<defs>
<linearGradient id="test-gradient-test">
<stop offset="0%" stop-color="red" />
<stop offset="50%" stop-color="black" stop-opacity="0%" />
<stop offset="100%" stop-color="blue" />
</linearGradient>
</defs>
<path
d='M50,150 L100,40 L150,80 L200,50 L250,50 L300,150 '
fill='none'
stroke-width=5
fill='url(#test-gradient-test)'
stroke='url(#test-gradient-test)'
>
</path>
<path
transform='translate(0,150)'
d='M50,150 L100,40 L150,80 L200,50 L250,50 L300,150 '
fill='url(#test-gradient-test)'
</path>
</svg>