- From: Antoine Quint via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Dec 2024 16:24:36 +0000
- To: public-css-archive@w3.org
graouts has just created a new issue for https://github.com/w3c/csswg-drafts:
== [scroll-animations] Should setting `iterations` to `Infinity` via a call to `updatingTiming()` throw? ==
I'm looking at the WPT test for `updateTiming()` at [scroll-timelines/effect-updateTiming.html](https://wpt.fyi/results/scroll-animations/scroll-timelines/effect-updateTiming.html) and noticed that it has this subtest:
```
test(t => {
const anim = createScrollLinkedAnimationWithTiming(t, { duration: 2000 });
anim.play();
assert_throws_js(TypeError, () => {
anim.effect.updateTiming({ iterations: Infinity });
}, "test");
}, `Throws when setting iterations to Infinity`);
```
I couldn't find any spec text that would support this, although it seems reasonable.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11343 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 December 2024 16:24:37 UTC