- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Nov 2022 15:47:36 +0000
- To: public-css-archive@w3.org
I would say (1). `mix()` uses the grammar of the property to interpolate the expressions, e.g. ```css order: mix(0.5; 1; 9); /* (1+9)/2 = 5 */ aspect-ratio: mix(0.5; 1; 9); /* sqrt(1*9) = 3 */ ``` so interpolating a negative length if the property doesn't understand negative lengths kinda seems wrong. But an `interp()` function from https://github.com/w3c/csswg-drafts/issues/6697 that would basically be syntax sugar for `calc()` then would behave as (2). -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8158#issuecomment-1332373121 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 November 2022 15:47:37 UTC