W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

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

From: Jake Archibald via GitHub <sysbot+gh@w3.org>
Date: Sat, 21 Aug 2021 09:10:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-903087211-1629537032-sysbot+gh@w3.org>

> If the goal is to enable the creation of complex easings then I feel we should keep the key word `linear-easing(....)` or `custom-easing(....)`, with `linear-easing(0, 0.4, 0.6, ...)` being the basic form and `linear-easing(0 20%, 3 40%, 0.5 80%, 0.6, 0.7, 0.8, 1)` being the advanced mode

That isn't consistent with gradients. I'm trying to borrow as much as possible from existing concepts.

> I don't think we should complicate the `linear-easing` function with `fillMode`, as it would make the `linear-easing` function the only CSS Easing Function that currently does this and create potentially counter intuitive behaviors, I feel a separate proposal for `fillMode` would be better,

Don't think of this being like fillmode as it exists in other parts of the animation spec, it's pretty different. Does the idea in https://github.com/w3c/csswg-drafts/pull/6533#issuecomment-903086012 make more sense?

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 21 August 2021 09:10:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC