Re: [csswg-drafts] [css-color] Resolving color-mix() / color-contrast() (#7302)

@emilio said:

> In Gecko, I opted for the approach of keeping color-mix() in the specified value, but resolve at computed-value time (except for currentColor which is special of course, but that's not observable anyways because getComputedStyle returns resolved colors).

That seems preferable to me; and currentColor gets resolved at used-value time.

@weinig  I assume the fact that WebKit currently resolves `color-mix()` at parse time, and the fact that it currently doesn't handle currentColor in `color-mix()`, are related?

CSS Color 5 doesn't mention `color-mix()` in the Resolving Color Values section, and it should. Maybe we can nail this down this week (in this issue, and resolve on the call)?

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


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

Received on Monday, 30 May 2022 16:41:17 UTC