- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 20 May 2025 19:20:51 +0000
- To: public-css-archive@w3.org
We already discussed this issue for 2 arguments (and it applies generally to 2+ arguments) - when all the %s are 0%, any possible ratio between them might be correct for normalizing them back up to a sum of 100%; deciding to give an equal mix (or any other mixing ratio) is completely arbitrary, with no reason to assume it's correct for the author's intent. So we just bail instead and do transparent black. (And, iirc, black makes the hue powerless, so if you mix it with more colors, you'll just take the other color's hue; it doesn't darken the result.) The new case here is a single argument, where there's at least nothing else to mix with. In theory we could special case this and return a transparent color of the right hue. I'm not sure it's worthwhile, tho. Thoughts, @svgeesus @LeaVerou ? -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12214#issuecomment-2895549106 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 20 May 2025 19:20:52 UTC