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

32 lines
783 B
Plaintext

<style> may have type attribute. Values other than the empty string
or text/css are ignored.
===
<svg>
<style type="text/invalid">
.invalid { fill: red; }
</style>
<style type="text/css">
.css { fill: green; }
</style>
<style type="">
.empty { fill: blue; }
</style>
<rect x="0" y="0" width="100" height="100" class="invalid" />
<rect x="0" y="0" width="100" height="100" class="css" />
<rect x="0" y="0" width="100" height="100" class="empty" />
</svg>
@@@
<svg>
<style type="text/invalid">
.invalid { fill: red; }
</style>
<rect x="0" y="0" width="100" height="100" class="invalid"/>
<rect x="0" y="0" width="100" height="100" style="fill:green"/>
<rect x="0" y="0" width="100" height="100" style="fill:blue"/>
</svg>