- From: Christopher Cameron via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Oct 2024 14:47:13 +0000
- To: public-css-archive@w3.org
Returning to the issue of interpolation between more than 2 enums, is there any objection to updating the functional to support the form: ``` mix-dynamic-range(standard 76%, high 12%, constrained-high 12%) ``` This would mean the syntax would be updated to be: ``` dynamic-range-limit-mix() = dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]+) ``` The changes here are that the percentage is no longer optional, and there may be more than two parameters. Some of the options for interpolating using `color-mix` (in particular the use of alpha in step 7) can't quite apply to this, so we'll want to list the normalization explicitly. * Let p1,...,pN be the percentages * If all percentages are specified and sum to zero, then the function is invalid. * Scale all percentages so that they add to 100% I'll put out a patch to update this. -- GitHub Notification of comment by ccameron-chromium Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10271#issuecomment-2422650927 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 18 October 2024 14:47:14 UTC