mirror of
https://github.com/svg/svgo.git
synced 2025-09-15 20:41:07 +03:00
22 lines
693 B
XML
22 lines
693 B
XML
Remove circle element with zero radius but preserve when animation element is inside
|
|
|
|
===
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg">
|
|
<g>
|
|
<circle r="0"/>
|
|
</g>
|
|
<circle cx="16" cy="3" r="0">
|
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline"/>
|
|
</circle>
|
|
</svg>
|
|
|
|
@@@
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg">
|
|
<g/>
|
|
<circle cx="16" cy="3" r="0">
|
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline"/>
|
|
</circle>
|
|
</svg>
|