Re: [csswg-drafts] [scroll-animations] Should animation events fire every time active range is left / reentered? (#4324)

Since we have updated the spec such that when you play scroll linked animations they get a start time of 0 at step 7 of [web-animations-1 4.4.8 Playing an animation](https://www.w3.org/TR/web-animations-1/#playing-an-animation-section), we shouldn't have to worry about cancel events being dispatched anymore since the animation would not be considered idle due to its defined start time.

Proposed resolutions:
1. Animation events fire for scroll linked animations as defined by [web-animations-1 4.4.18.3],(https://www.w3.org/TR/web-animations-1/#animation-playback-event-types) and [css-animations-2 4.1](https://drafts.csswg.org/css-animations-2/#event-dispatch).
2. (Optional) Introduce a new event for web-animations which is dispatched when an animation goes from the idle or before phase to active phase equivalent to the CSS animationstart event.

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


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

Received on Wednesday, 23 November 2022 22:00:31 UTC