Re: [csswg-drafts] [css-animations-2] Synchronised animation timelines (#8534)

One scenario where I recently needed this was when swapping out one animation for the other, but have the second animation continue where the first one was cut.

```css
el {
  animation: one 5s linear infinite;
}
el:hover {
  animation: two 5s linear infinite;
}
```

@fantasai: I don’t think that with your suggestion I would be able to refer to the timeline of `one` to use for `two`, as the former no longer exists upon hovering?

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


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

Received on Monday, 12 June 2023 15:20:14 UTC