-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Wrong serialization result for rgba/hsla spaces, fixes #296 #297
base: main
Are you sure you want to change the base?
Conversation
Hi there, Thank you for contributing and sorry it took so long to review this! Could you elaborate a bit on this new
OTOH if we hardcode that commas cannot have optional alpha, I suppose we could use a single param for this. |
Hi, |
By the way, I was reading the specification (Candidate Recommendation Draft) recently and from the way I understand it |
Oh that's a good point, I had actually forgotten about that. I do think that most people using |
I looked more closely at the code some time ago and don't remember much anymore, so my comments may not be quite accurate. From the output format perspective: So to summarize the 3 output formats beyond keyword and hex: From the input format perspective: So to summarize the 3 input formats beyond keyword and hex: Four additional, loosely related comments:
These are my thoughts, I don't know if they interest you at all but for my own sake I leave them here. |
Note that there are two legacy formats, the one in CSS Color 3 which uses |
Thanks for your reply. Yes you are right. The theoretical My initial motivation for creating this PR was to provide a reliable way to get a valid CSS Color 3 compliant |
#296 fix