Skip to content

fix(color): fix the alpha in form of rgb(r, g, b, a) is not respected.#930

Merged
plainheart merged 1 commit into
masterfrom
fix/color
Jun 24, 2022
Merged

fix(color): fix the alpha in form of rgb(r, g, b, a) is not respected.#930
plainheart merged 1 commit into
masterfrom
fix/color

Conversation

@plainheart
Copy link
Copy Markdown
Collaborator

#929 enhanced the compatibility for the color form of rgb(r, g, b, a), but it ignores the last digit alpha and causes the alpha to be always 1.

This PR is to fix this issue and to add some new cases to the unit test.

@plainheart plainheart requested a review from pissang June 24, 2022 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants