Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you so much for making this port. Loving it!
I was doing some testing and found that @Keyframes with grouped selector steps like '0%,100%' were coming out as '0,100%'.
So, this pull request will happily deal with that common scenario and it even works for odd edge cases like...
@Keyframes name{0,to,from{...}to{...}};
@Keyframes name{100%,to,from{...}to{...}};
@Keyframes name{100%,0,to{...}to{...}};
@Keyframes name{from,0,to{...}to{...}};
@Keyframes name{from,to,0{...}to{...}};
@Keyframes name{from,to{...}to{...}};
Please let me know if you see anything you want to tweaked or if there are any tests I can help with. Very happy to help. :D
PS - I had tried most of the popular PHP minifiers out there and they all had serious problems. I was dreading the prospecting of having to code my own from scratch so you can imagine how happy I was to discover your code! Thank you so much. ^_^