1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-25 18:41:39 +03:00
Files
svgo/test/plugins/removeUselessDefs.04.svg.txt

23 lines
536 B
Plaintext

Don't remove non-rendering elements if children have IDs.
===
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="url(#a)" width="64" height="64"/>
<symbol>
<linearGradient id="a">
<stop offset="5%" stop-color="gold" />
</linearGradient>
</symbol>
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="url(#a)" width="64" height="64"/>
<symbol>
<linearGradient id="a">
<stop offset="5%" stop-color="gold"/>
</linearGradient>
</symbol>
</svg>