Closed rivo closed 7 years ago
The following is a valid color (black with 50% opacity) but will not be recognized:
d3.color("rgba(0,0,0,.5)") === null // true
It seems that at least one digit is always required before the decimal point. I believe this can be fixed in the corresponding regex.
Great, thanks!
The following is a valid color (black with 50% opacity) but will not be recognized:
It seems that at least one digit is always required before the decimal point. I believe this can be fixed in the corresponding regex.