Re: [csswg-drafts] [css-easing-1] Some ideas for linear() easing (#6533)

There's a thing I don't see explained in the spec (I'm not used to `.bs` files, so maybe it's there, but I don't see it):

What happens when 2 points have the same `x` coordinate? 
**e.g. `linear(0.1 50%, 0.9 50%)`** (or even `linear(0.1 50%, 0.1 50%)`)
 
The algorithm only considers the first appearing point in the list, so the example is equal to `linear(0.1 50%)`?

If yes, keep in mind that then, `linear(0.1 50%, 0.9 50%)` becomes that special case where there's only 1 point, but the original list had more than 1 point.

BTW (off-topic), I love this proposal because it is simple to understand and very aligned with the "typical" pure css approach to do complex easings. I wanted custom easings so bad that I created my own tool to make them using keyframes (https://easyeasings.com/). I'm so happy to see progress on this, so I can stop using pesky keyframe animations!

-- 
GitHub Notification of comment by mauriciabad
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/6533#issuecomment-1007080368 using your GitHub account


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

Received on Friday, 7 January 2022 02:04:22 UTC