1
0
mirror of https://github.com/svg/svgo.git synced 2025-09-15 20:41:07 +03:00
Files
svgo/test/plugins/collapseGroups.09.svg
2021-03-28 20:23:39 +03:00

52 lines
1.2 KiB
XML

Preserve transform when group has clip-path
===
<svg xmlns="http://www.w3.org/2000/svg">
<clipPath id="a">
<path d="..."/>
</clipPath>
<clipPath id="b">
<path d="..."/>
</clipPath>
<g transform="matrix(0 -1.25 -1.25 0 100 100)" clip-path="url(#a)">
<g transform="scale(.2)">
<path d="..."/>
<path d="..."/>
</g>
</g>
<g transform="matrix(0 -1.25 -1.25 0 100 100)" clip-path="url(#a)">
<g transform="scale(.2)">
<g>
<g clip-path="url(#b)">
<path d="..."/>
<path d="..."/>
</g>
</g>
</g>
</g>
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg">
<clipPath id="a">
<path d="..."/>
</clipPath>
<clipPath id="b">
<path d="..."/>
</clipPath>
<g transform="matrix(0 -1.25 -1.25 0 100 100)" clip-path="url(#a)">
<g transform="scale(.2)">
<path d="..."/>
<path d="..."/>
</g>
</g>
<g transform="matrix(0 -1.25 -1.25 0 100 100)" clip-path="url(#a)">
<g clip-path="url(#b)" transform="scale(.2)">
<path d="..."/>
<path d="..."/>
</g>
</g>
</svg>