Re: [csswg-drafts] [web-animations-2] Custom effects (#6861)

> TBH, I don't see much difference between the 2 methods

My eventual goal is to ditch the `requestAnimationFrame`, which has known performance implications. A `progress` event would allow that, a `CustomEffect` would too but it’s a lot of more work.

> But I also don't see a reason why we can't have both?

If there is a `progress` event, then something like an `EmptyEffect` would be sufficient, no? As in: create the empty effect + use the `progress` event listener to update the things onscreen. IUC this would allow  the UA to reuse some of its already existing optimizations.


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


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

Received on Sunday, 27 October 2024 20:42:30 UTC