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

> 
```css
div { color: color-mix(in lch, canvastext, blue) }
div.dark { color-scheme: dark; }
```

> Depending on whether an element has the class "dark" or not, the computed value will be different. Serializing the color declaration in the div rule above cannot give a reasonable serialization as a `<color>`.

Wouldn't the serialization on the div use the [initial value of `color-scheme`](https://w3c.github.io/csswg-drafts/css-color-adjust-1/#valdef-color-scheme-normal) which is `normal`?

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


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

Received on Thursday, 13 October 2022 17:08:45 UTC