Re: [csswg-drafts] [css-color-5] Edge cases for color-mix() percentage serialization questions (#10772)

> The text states it should use the "un-normalized" values. The value of 60% would only be discovered during the normalization (specifically, [step 4](https://drafts.csswg.org/css-color-5/#color-mix-percent-norm))).

This is true.

Because this section evolved over time, I think that my mental model was  whether a number had changed, like `color-mix(in oklab, red 75%, blue 150%)` becoming `33.33%` and `66.67%` respectively; and I originally wrote that those modified values would be the ones serialized. But then there were problems, like knowing if they had originally added to less than 100%, so we went for the `un-normalized` wording without noticing that unspecified values only get a value during normalization.

Your suggested wording is much better.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10772#issuecomment-2315780273 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 August 2024 16:19:59 UTC