-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS rgba() colors are incorrectly parsed #2029
Labels
Comments
zbjornson
added a commit
that referenced
this issue
Jul 7, 2022
`rgb()` and `rgba()` are supposed to have identical grammar and behavior: https://www.w3.org/TR/css-color-4/#rgb-functions. Fixes #2029
zbjornson
added a commit
that referenced
this issue
Jul 7, 2022
`rgb()` and `rgba()` are supposed to have identical grammar and behavior: https://www.w3.org/TR/css-color-4/#rgb-functions. Fixes #2029
This was referenced Jun 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue or Feature
Colors in three-argument
rgba(R, G, B)
notation are parsed as fully transparent colors, instead of being fully opaque. This issue does not show up in four-argumentrgba(R, G, B, A)
orrgb(R, G, B)
withouta
.Steps to Reproduce
Your Environment
npm list canvas
oryarn list canvas
): 2.9.1The text was updated successfully, but these errors were encountered: