- From: Joe Pea via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Feb 2024 20:14:27 +0000
- To: public-css-archive@w3.org
The `CustomEffect` idea lacks too much. The idea with KeyframeEffect is you get easing curves between key frames, which is very nice. If I understand correctly, with `CustomEffect`, we're entirely on our own, we have to implement key frames and easing in JavaScript. What we need is the same APIs, but for simply applying to numbers on JS objects instead of style properties on elements. That's the only difference there should be. `CustomEffect` might still be useful if, for example, some library like GSAP wants to integrate with Web Animations while providing all of their own readings, etc. But out of the box a Web Animations user should still be able to do everything they can with element style, just with plain numbers on any object. -- GitHub Notification of comment by trusktr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9974#issuecomment-1969819029 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 February 2024 20:14:29 UTC