- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Sun, 14 Apr 2024 19:41:13 +0000
- To: public-css-archive@w3.org
🤔 But that isn't how these features are currently specified or implemented. `none` is not a placeholder for the corresponding channel (i.e. `&` in nesting). `none` is a way to make or represent a missing channel. Missing/powerless channels are filled in with the corresponding value from the other color. This would be a very large change and one that opens up more questions than it answers. --------- How does it work when channel keywords are used in different positions? ``` color-mix( in lab, lab(50% none none), lab(50% 10% 20%) ) lab(50% 10% 20%) ``` vs. ``` color-mix( in lab, lab(from lab(50% none none) l b a), lab(50% 10% 20%) ) lab(50% 10% 20%) ``` vs. ``` color-mix( in lab, lab(from lab(50% none none) l a b), lab(50% 10% 20%) ) lab(50% 10% 20%) ``` vs. ``` color-mix( in lab, lab(from lab(50% none none) l calc(b) calc(a)), lab(50% 10% 20%) ) lab(50% 10% 20%) /* or? */ lab(50% 20% 10%) ``` -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10151#issuecomment-2054164965 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 14 April 2024 19:41:14 UTC