mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
Fix and update cleanupListOfValues tests
This commit is contained in:
@ -125,7 +125,7 @@ exports.fn = function(item, params) {
|
||||
// if attribute value is "new"(only enable-background).
|
||||
else if (matchNew) {
|
||||
roundedListArr.push('new');
|
||||
} else {
|
||||
} else if (elem) {
|
||||
roundedListArr.push(elem);
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon stroke-dasharray="200.22222 200.22522" points="413.74712,290.95212 290.75632 , 343.89942 183.40744 ,263.8582523 199.05334, 130.871345 322.04442,77.92533 429.39122,157.96555 "/>
|
||||
test
|
||||
<g fill="none" stroke-dasharray="8, 8" stroke-width="3">
|
||||
<path d="M83 250c69-18 140-40 197-84 33-23 48-62 62-99 2-6 3-12 7-16"/>
|
||||
<path stroke-dasharray="none" stroke-linejoin="round" d="M83 250c29-34 57-72 97-94 33-13 69-10 104-11 22 1 45 2 65 13"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
@@@
|
||||
@ -8,4 +12,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon stroke-dasharray="200.222 200.225" points="413.747 290.952 290.756 343.899 183.407 263.858 199.053 130.871 322.044 77.925 429.391 157.966"/>
|
||||
test
|
||||
<g fill="none" stroke-dasharray="8 8" stroke-width="3">
|
||||
<path d="M83 250c69-18 140-40 197-84 33-23 48-62 62-99 2-6 3-12 7-16"/>
|
||||
<path stroke-dasharray="none" stroke-linejoin="round" d="M83 250c29-34 57-72 97-94 33-13 69-10 104-11 22 1 45 2 65 13"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user