Re: [csswg-drafts] [css-images] Add easing functions to color stops (#1332)

That seems fine to me. Midpoints confused me at first because I thought it would be a percentage of the distance between adjacent colour stops rather than being a percentage of the length of the entire gradient. Since it does work by producing a position relative to the entire gradient, it makes sense to be a positioned stop.

It looks like your proposed easing function would be exactly how I originally expected midpoints to work. So if we decide that adding an easing function does not influence colour stop fixup, then using that function would work in a way that is at least more intuitive to me.

This would also allow `linear-gradient(red, green, blue);` to look the same as `linear-gradient(red, linear, green, blue);` which I think is pretty intuitive.

So I now agree that they shouldn't influence colour stop fixup. I'll make sure that they don't in my test implementations unless we later agree otherwise.

-- 
GitHub Notification of comment by Bryce-MW
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1332#issuecomment-912678277 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 3 September 2021 16:57:08 UTC