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

> We do still need to decide if the easing functions should influence color-stop fixup. I think they should to be consistent with midpoints but with these acting as unpositioned stops rather than positioned stops for the purpose of fixup.

While color transition hints [didn't match my mental model from Photoshop etc.](https://github.com/w3c/csswg-drafts/issues/3931), it sort of makes sense to think of them as positioned color stops: they are explicitly positioned on the gradient line, and their color is meant to be the 50-50% blend between the two surrounding color stops. And, for better or for worse, this is how all rendering engines interpret them.

In contrast, I don't see any logic in easing functions contributing to the color stop position fixup. They are not stand-ins for colors, they just adjust the interpolation. It would be very confusing for authors if adding an easing function shifted the position of colors:

```css
linear-gradient(red, green, blue);
[◉-----◉-----◉]

linear-gradient(red, easeInOut, green, blue);
[◉---§---◉---◉]
```

-- 
GitHub Notification of comment by danburzo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1332#issuecomment-912443652 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 10:44:06 UTC