mirror of
https://github.com/svg/svgo.git
synced 2026-01-25 18:41:39 +03:00
22 lines
757 B
Plaintext
22 lines
757 B
Plaintext
Convert a one-stop gradient that references another one-stop gradient. Remove
|
|
xlink:href namespace since we remove the only reference to it.
|
|
|
|
===
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="744.09448" height="1052.3622">
|
|
<defs>
|
|
<linearGradient id="a">
|
|
<stop style="stop-color:#a8c4cc"/>
|
|
</linearGradient>
|
|
<linearGradient x1="353.83112" y1="396.85037" x2="496.56262" y2="396.85037" id="b" xlink:href="#a"/>
|
|
</defs>
|
|
<rect width="150" height="150" x="350" y="350" style="fill:url(#b)"/>
|
|
</svg>
|
|
|
|
@@@
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="744.09448" height="1052.3622">
|
|
<rect width="150" height="150" x="350" y="350" style="fill:#a8c4cc"/>
|
|
</svg>
|