1
0
mirror of https://github.com/svg/svgo.git synced 2025-09-15 20:41:07 +03:00
Files
svgo/test/plugins/moveElemsAttrsToGroup.02.svg
Bogdan Chadkin 543346ca97 Refactor moveElemsAttrsToGroup (#1574)
- migrated to visitor plugin api
- covered with tsdoc
- added more test cases
- restructured and simplified code
2021-09-23 21:52:46 +03:00

20 lines
228 B
XML

Override group attributes with children attributes
===
<svg>
<g fill="red">
<rect fill="blue" />
<circle fill="blue" />
</g>
</svg>
@@@
<svg>
<g fill="blue">
<rect/>
<circle/>
</g>
</svg>