Open HotpotDesign opened 5 years ago
Properly parsing CSS gradients is such a thorny problem. This is an awesome parser. Thanks so much for writing it!
Here's one gradient where the parser chokes:
radial-gradient(at 57% 50%, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)
In Chrome, the default values for shape and extent are sometimes omitted.
Properly parsing CSS gradients is such a thorny problem. This is an awesome parser. Thanks so much for writing it!
Here's one gradient where the parser chokes:
radial-gradient(at 57% 50%, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)
In Chrome, the default values for shape and extent are sometimes omitted.