1
0
mirror of https://github.com/svg/svgo.git synced 2025-09-14 09:49:20 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Bogdan Chadkin
72b972261d Refactor inlineStyles (#1601)
This is a big one

- got rid from another closestByName usage
- delegated removing empty defs elements to removeEmptyContainers plugin
- got rid from all css-tools usages (most inlineStyles code was there
  for some reason)
- combined a few loops
- fixed useMqs option (I would remove it in v3 for simplicity as it
  seems nobody use it)
2021-10-30 01:31:52 +03:00
Stephanie Miller
e7b8a6ce7d Upgrade css-tree from alpha25 to alpha.28
API changed walkFoo(ast, fun) to walk(ast,{visit: 'Rule',enter: fun)
csstree.translate renamed to csstree.generate
csstree.generate throws an error on invalid style where translate silently ignored it - update style processing to catch and ignore instead
Updated tests - csstree now omits more whitespace
2018-09-15 14:43:28 +03:00
GreLI
d828a62100 Bump dependencies and minor fix for inlineStyles 2017-10-22 22:30:17 +03:00
strarsis
2523799a12 Add inlineStyles plugin (rewrite of localStyles plugin) (#592)
Add inlineStyles plugin
2017-10-22 21:57:47 +03:00