Re: [csswg-drafts] [web-animations-2][css-animations-2] Set of actions for animation triggers (#12611)

Later discussion with @fantasai led to some more possibility: rather than *only* having event sources emit naked events caught by trigger(), have them (a) also emit "higher-level" events (like `activate`), and (b) let authors bind one or more events to a chosen name, so you can semantically group some events together.

So:

```
.source {
  event-trigger-name: --foo;
  event-trigger-actions: --bar click press("k");
}
.anim {
  animation: my-anim;
  animation-trigger: trigger(--foo, --bar play);
}
```

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


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

Received on Wednesday, 20 August 2025 15:40:24 UTC