- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 May 2020 16:17:53 +0000
- To: public-css-archive@w3.org
Ah, sorry, actually the omitter logic is a touch more complicated - if you've specified any channel adjuster for a color, the omitted adjusters default to 0%. You only distribute leftover % if there's no adjuster at all. That is, if we write `color-mix(canvas, var(--bg-color) a(100%))` to apply the variable's alpha to the `canvas` color, we want the rest of the var's adjusters to default to 0% (so you use `canvas` for all the actual color channels). -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4711#issuecomment-631578212 using your GitHub account
Received on Wednesday, 20 May 2020 16:17:55 UTC