- From: Bramus! via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Apr 2023 14:35:48 +0000
- To: public-css-archive@w3.org
Good call. Could be solved by pass the `animation.rangeStart` and `animation.rangeEnd` into `getCurrentTime[ForRange]`, so that it can do its calculations.
I think that would rhyme nicely with [the suggested property bag approach](https://github.com/w3c/csswg-drafts/issues/8201), no?
```js
const { timeline, rangeStart, rangeEnd } = animation;
const value = timeline.getCurrentTime({
rangeStart,
rangeEnd
});
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8669#issuecomment-1499167631 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 April 2023 14:35:50 UTC