- From: dshin-moz via GitHub <noreply@w3.org>
- Date: Thu, 07 May 2026 20:29:46 +0000
- To: public-css-archive@w3.org
dshin-moz has just created a new issue for https://github.com/w3c/csswg-drafts: == [scroll-animations-1] Should switching from `animation-timeline: none` to `animation-timeine: --scroll-timeline` cause the animation to pause? == (Related, but not identical to #13807 which concerns switching out of unresolved timelines) Consider this [testcase](https://github.com/user-attachments/files/27495417/testcase.html). There are two animations, one using the scroll timeline (`animation-timeline: --t1`), another using the document timeline (`animation-timeline: auto`). Clicking on one of the two buttons cause `animation-timeline` to be set to `none` for 500ms for the corresponding animation target. * After clicking the "Toggle Document" button, the animation continues to play after the toggle. * After clicking the "Toggle Scroll" button, the animation style applies, but is not responsive to scroll. This seems inconsistent. I think this is because the play state of an animation with null timeline is paused, and while [setting the new timeline](https://drafts.csswg.org/web-animations-2/#setting-the-timeline), we fall into step 6 of "If to finite timeline." Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13899 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 May 2026 20:29:50 UTC