Skip to content
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

Serialize XyzD65 as xyz-d65 #118

Merged

Conversation

waywardmonkeys
Copy link
Collaborator

As noted in § 14.4 of CSS Color 4 spec, colors specified in xyz, which is an alias of xyz-d65, are in the xyz-d65 color space.

We already only have a predefined colorspace for XyzD65 and not just Xyz, but were serializing it out in the shorter form.

@waywardmonkeys waywardmonkeys added this to the 0.2.2 milestone Jan 1, 2025
As noted in § 14.4 of CSS Color 4 spec, colors specified in `xyz`,
which is an alias of `xyz-d65`, are in the `xyz-d65` color space.

We already only have a predefined colorspace for `XyzD65` and not
just `Xyz`, but were serializing it out in the shorter form.
@waywardmonkeys waywardmonkeys force-pushed the resolve-xyz-as-xyz-d65 branch from 7c5d46b to 4f55a59 Compare January 1, 2025 05:36
Copy link
Member

@tomcur tomcur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, seems xyz-d65 is the correct name.

@waywardmonkeys waywardmonkeys added this pull request to the merge queue Jan 1, 2025
Merged via the queue into linebender:main with commit db12a36 Jan 1, 2025
16 checks passed
@waywardmonkeys waywardmonkeys deleted the resolve-xyz-as-xyz-d65 branch January 1, 2025 09:58
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