mirror of
https://github.com/svg/svgo.git
synced 2026-01-25 18:41:39 +03:00
22 lines
727 B
Plaintext
22 lines
727 B
Plaintext
If we're going to inline styles for property that is also a presentation
|
|
attribute, and that presentation attribute was already defined in the node, we
|
|
can just drop the presentation attribute as it would be overridden by the style
|
|
anyway.
|
|
|
|
===
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 269 349">
|
|
<style type="text/css">
|
|
.a {
|
|
fill: #059669;
|
|
}
|
|
</style>
|
|
<path class="a" d="M191.5,324.1V355l9.6-31.6A77.49,77.49,0,0,1,191.5,324.1Z" fill="#059669" transform="translate(-57.17 -13.4)"/>
|
|
</svg>
|
|
|
|
@@@
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 269 349">
|
|
<path d="M191.5,324.1V355l9.6-31.6A77.49,77.49,0,0,1,191.5,324.1Z" transform="translate(-57.17 -13.4)" style="fill:#059669"/>
|
|
</svg>
|