Re: [csswg-drafts] [web-animations-2][css-animations-2] animation-trigger CSS syntax (#12652)

Note that we might still want to keep the functional trigger notation to ensure that we can unambiguously parse multiple triggers for a single animation,
```css
animation-trigger: [trigger(--trigger-name enter-action [exit-action]?)]#
```

Without this multiple triggers on a single animation would run together though if we require dashed-idents is technically parseable but would limit what we can do in the future, e.g.
```css
animation-trigger: --activate play --over play pause;
```
But the high level idea is still that all triggers potentially generate paired events and a common syntax for it.

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


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

Received on Wednesday, 10 September 2025 20:53:05 UTC