blob: fa18e855559d0b5f6c84fae39f680a477f2b2838 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<desc>Test that the 'href' attribute is animated correctly.</desc>
<defs>
<linearGradient id="red-fill">
<stop offset="0%" stop-color="red" />
<stop offset="100%" stop-color="red" />
</linearGradient>
<linearGradient id="green-fill">
<stop offset="0%" stop-color="green" />
<stop offset="100%" stop-color="green" />
</linearGradient>
<linearGradient id="gradient" href="#red-fill">
<set attributeName="href" to="#green-fill" fill="freeze"/>
</linearGradient>
</defs>
<rect id="rect" width="100" height="100" fill="url('#gradient')"/>
</svg>