Re: [csswg-drafts] [css-animations] Support iterationCount field in animationIteration event (#3620)

I don't think this should be added to the `Animation` object. It's a property of an animation effect (assuming there is one) and I don't think we want to lift all the timing properties from the root animation effect to the `Animation`.

Also, the value in the event should a static snapshot of the iteration count at the time the event was triggered, not the current live value.

If the authors wants the live value they can fetch it in the same way they fetch the live progress, i.e. `animation.effect?.getComputedTiming().currentIteration`.

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


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

Received on Tuesday, 12 September 2023 00:47:21 UTC