Re: [csswg-drafts] [css-animations-2] Add declarative syntax for starting an animation in response to an input event (#12029)

Is it necessary to support `animation-trigger-timeline` at all for input events? As you say, it's stateless; could we just define the behavior entirely in terms of the animation state? `animation-trigger-timeline` feel superfluous.

As for hit testing, we were not planning to offer any inset or other geometry features; it should behave the same as event targeting.

The [solution sketch](https://github.com/szager-chromium/declarative-interactions?tab=readme-ov-file#solution-sketch) from our proposal is still how we envision the feature working.

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


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

Received on Monday, 5 May 2025 21:31:52 UTC