- From: Christopher Cameron via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 May 2024 12:07:43 +0000
- To: public-css-archive@w3.org
I think the hard part is is defining what is the computed value for this sort of thing: ``` mix-dynamic-range-limit( 40%, mix-dynamic-range-limit(20%, standard, high), mix-dynamic-range-limit(30%, standard, constrained-high)); ``` The math of this is: `0.6*(0.8*standard + 0.2*high) + 0.4*(0.7*standard + 0.3*constrained-high))`. If we have a two-argument functional, then we need to somehow nest these together, and it starts to feel a bit messy. The syntax that @svgeesus suggested extends well to handle this, by just allowing one to say that that evaluates to: ``` mix-dynamic-range(standard 76%, high 12%, constrained-high 12%) ``` -- GitHub Notification of comment by ccameron-chromium Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10271#issuecomment-2098254786 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 May 2024 12:07:44 UTC