1
0
mirror of https://github.com/svg/svgo.git synced 2025-04-19 10:22:15 +03:00

46 Commits

Author SHA1 Message Date
Bogdan Chadkin
555a9619db Remove incorrect filter region assumption
Ref https://www.w3.org/TR/SVG11/filters.html

Spec says filter region is not always 100% 100% by default
2021-03-05 21:31:41 +03:00
Bogdan Chadkin
a896d5de13
Format plugins utilities with prettier (#1394)
Note: review with hidden whitespaces
2021-03-03 01:33:44 +03:00
XhmikosR
1310210d4e
Use https when possible and fix an inactive domain (#1374) 2021-02-25 13:48:18 +03:00
Bogdan Chadkin
091172a392 Fix <tspan> inside of <a> 2021-02-24 14:10:33 +03:00
Bogdan Chadkin
776ec1e71b Fix incorrect xml:space default 2021-02-23 18:43:28 +03:00
Max Goodhart
9f084cc086
Preserve whitespace in elements containing text (#1220) 2021-02-23 18:25:30 +03:00
Bogdan Chadkin
4490d62ee9 Add mask-type to the list of <mask> attributes
Ref https://github.com/svg/svgo/issues/1254
2021-02-20 13:59:21 +03:00
bbqaaq
5d97108687 update namespace list (#1064) 2019-02-24 21:04:24 +03:00
GreLI
a165206632 Update presentation attribute collection for removeNonInheritableGroupAttrs plugin 2018-09-16 11:07:43 +03:00
GreLI
36db31adcf Fix removeNonInheritableGroupAttrs not working as intended 2018-09-15 22:48:09 +03:00
Adam Demasi
102a7210a7 Add Microsoft Visio XMLNS to removeEditorsNSData. (#974) 2018-06-02 14:10:26 +03:00
GreLI
93f2760a02 Support "href" attribute from SVG 2, fixes #772 2017-10-22 17:56:47 +03:00
Yehonatan Daniv
87796acbcb Updated colorNames according to CSS Color Module Level 4 (#755)
Update colorNames according to CSS Color Module Level 4
2017-09-14 21:24:00 +03:00
davidleston
c4727ee742 Closes svg/svgo#757. ff0000 now converts to red when shorthex is false. 2017-07-12 17:05:31 -07:00
GreLI
d0a511fc37 Fix removing <animate> in <stop>. Fixes #544 2016-12-25 18:17:39 +03:00
GreLI
65efced355 Process “foreignObject”: cleanup editors content and remove itself if is empty.
Remove doctype with entities.
Fixes #533
2016-04-24 21:29:01 +03:00
GreLI
2f88a38730 Use presentation attibures instead of all styling properties.
Fixes #528
2016-04-05 17:29:05 +03:00
GreLI
619aaf8481 Check ‘style’ attr for id reference. Fixes #515 2016-03-12 15:27:34 +03:00
GreLI
6e712f1618 Added inkscape sodipodi namespace to remove. Fixes #442 2015-10-20 18:41:35 +03:00
GreLI
9e203f0a10 A little more from SVG 2 2015-03-29 16:08:42 +03:00
GreLI
f6e87a0543 More properties from SVG 2 2015-03-29 14:56:06 +03:00
GreLI
36003b11f6 New properties from SVG versions 2 and Tiny 1.2. Resolves #323 2015-03-28 23:28:20 +03:00
GreLI
0219d33c3e Don't remove default type of animateTranform since it doesn't work. Fixes #297 2015-03-22 21:20:34 +03:00
Anton Khlynovskiy
8c4c197534 Fix typo in yellow color hex code 2015-02-18 13:35:27 +03:00
GreLI
6fecd95f22 Added prentational attributes to known for 'mask' element. Fixes #217 2015-02-08 19:21:20 +03:00
GreLI
eae7238415 Don't pretty print text elements because it affects text content. Fixes #241 2015-01-31 15:14:46 +03:00
Lev Solntsev
71b010db08 Merge pull request #282 from YetiOr/yeti-or.pre-optimize-colors
Optimize colors names collection in advance.
2014-12-06 13:34:45 +03:00
Vasiliy Loginevskiy
ccd0541712 Add shortNames colors optimization. 2014-12-05 23:50:37 +03:00
Vasiliy Loginevskiy
4d83c31420 Optimize colors collections in advance. 2014-12-04 22:45:22 +03:00
Vasiliy Loginevskiy
d1ef377f17 Remove unnecessary element from array. 2014-12-03 04:51:47 +03:00
Dave Houlbrooke
36caca2fbe Add Sketch namespace to _collections for removeEditorsNSData plug 2014-01-31 05:11:23 +00:00
deepsweet
4ae9cc1c33 do not remove result attribute from filter primitives (fix #122) 2013-06-24 18:35:29 +03:00
deepsweet
f47220cff6 plugins/removeNonInheritableGroupAttrs: new plugin to fix #101 2013-02-22 17:07:41 +02:00
deepsweet
6592d9bdb4 SVG file generated by http://fontcustom.com not properly compressed (fix #90) 2013-01-18 15:47:30 +02:00
deepsweet
30a3397a27 move or just leave transform attr from Group to the inner Path Elems (close #86) 2013-01-18 14:16:27 +02:00
deepsweet
c99c4b284c new plugin: remove unused IDs (close #76) 2012-12-11 17:27:05 +02:00
deepsweet
d155db4c02 plugins/_collections: more defaults 2012-12-05 14:56:43 +02:00
deepsweet
95d93988fd plugins/_collections: more defaults 2012-12-01 18:28:59 +02:00
deepsweet
1b6b3b3026 plugins/removeUnknownsAndDefaults: refactoring and picking up the complete elems+attrs collection (close #59) 2012-11-30 17:34:02 +02:00
deepsweet
5485010269 'use strict' motherfucker! do you use it?! 2012-11-27 22:51:31 +02:00
deepsweet
8ba22b7295 plugins/removeUnknownsAndDefaults: merge multiple groupDefaults attrs (close #50) 2012-11-23 18:56:36 +04:00
deepsweet
87cdc92b37 plugins/moveElemsAttrsToGroup: fix inheitable only attrs array (fix #47) 2012-11-23 18:11:21 +04:00
deepsweet
15e4b1a217 plugins/removeUnknownsAndDefaults: remove unknown elements content, attrs and attrs with default values (close #6) 2012-11-22 18:57:43 +02:00
deepsweet
1e86425dcf plugins/moveElemsAttrsToGroup: should affect only inheritable attributes (fix #46) 2012-11-18 20:05:36 +02:00
deepsweet
2b64291b77 plugins/_collections: cleanup 2012-10-02 14:31:43 +04:00
deepsweet
13af2ed95e go! 2012-09-27 14:06:28 +03:00