Skip to content

[css-color-5] color-mix() serialization should be updated to cover all interpolation methods #6859

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

Closed
weinig opened this issue Dec 6, 2021 · 3 comments
Assignees

Comments

@weinig
Copy link
Contributor

weinig commented Dec 6, 2021

The specification for the serialization of color-mix(), https://drafts.csswg.org/css-color-5/#serial-color-mix, should be update to cover all the interpolation methods. This means adding:

  • srgb-linear
  • xyz-d50
  • xyz-d65
@svgeesus svgeesus self-assigned this Dec 6, 2021
@svgeesus svgeesus added css-color-5 Color modification Needs Edits labels Dec 6, 2021
@svgeesus
Copy link
Contributor

svgeesus commented Dec 6, 2021

Good catch, will do.

@weinig
Copy link
Contributor Author

weinig commented Dec 6, 2021

What is the rationale that color-mix(in srgb-linear ...) serializes to color(srgb ...) and not color(srgb-linear ...).

@svgeesus
Copy link
Contributor

svgeesus commented Dec 6, 2021

Oh gosh my brain is tired. Yes, of course 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants