Re: [csswg-drafts] [web-animations-2] Progress APIs (#8799)

The concern isn't that `progress` itself is confusing, it's that `myAnimation.effect.getComputedTiming().progress` means one kind of progress, while `myAnimation.progress` means a different kind, and nothing in the names indicates the difference. I actually think it'd be ideal for `getComputedTiming().progress` to mention that it's the _iteration's_ progress, but since that has been shipping for several years, I don't see much prospect for getting it renamed.

I'm not sure that `currentProgress` expresses the relevant difference here either (where `totalProgress` would), but the WG knows better than I do what context authors are likely to have when reading this code, and whether "current" is going to inspire the right intuition.

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


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

Received on Thursday, 7 November 2024 00:26:08 UTC