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

I agree with Tab that it should extrapolate colors rather than extend into neighboring segments. That way, it retains the property that interpolating between A and B only depends on A and B (and parameters like easing function) and not the context. Also, this keeps it consistent with any other interpolation between colors (e.g. in transitions). 

@proimage That wouldn't work for a number of reasons:

1. There can be multiple background images, and it's unclear how to extend this syntax to accommodate for that usably.
2. CSS images (of which gradients are only one special case) are not only accepted in backgrounds, but a number of other properties (`border-image`, masks, cursor, `list-style-image` to name a few).


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


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

Received on Thursday, 12 August 2021 11:22:17 UTC