Re: [csswg-drafts] [scroll-animations-1] currentTime for animations attached to a timeline attachment range (#8669)

The current time of an animation is spec'd in [web-animations-1 4.4.3](https://drafts.csswg.org/web-animations-1/#the-current-time-of-an-animation) as the following:

```
current time = (timeline time - start time) × playback rate
```

In this sense, the current time is in the units of the timeline time and is working as expected. I can see how this is confusing when the timeline time is also in percentage units, but it is consistent with how the currentTime in a regular animation does not give you the progress, but rather the timeline time that has "passed" since the start of the animation.

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


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

Received on Monday, 3 April 2023 18:34:00 UTC