lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

feat: add path parsing to BasicShape

Open noahbald opened this issue 1 year ago • 1 comments

This PR adds support for parsing and minifying path definitions, such as clip-path: path('M0 0L10 10') which would be minified as clip-path: path('M0 0 10 10')

See here for tests, which covers all the path optimization related tests from SVGO


To finish for this PR

  • [x] Implement serde derives
  • [x] Implement Visit derive
  • [x] Implement json-schema

noahbald avatar Oct 07 '24 09:10 noahbald

Hi, starting this as a draft as this a first-time contribution. Let me know if I've missed anything!

noahbald avatar Oct 07 '24 09:10 noahbald

Closing this so that I'm not using master in my fork, will re-raise soon

noahbald avatar Dec 12 '24 08:12 noahbald