Re: [csswg-drafts] [css-animations-2] Move scroll and event animation triggers to independent namespace (#12336)

@fantasai & @tabatkins, thanks so much for your review!

I'll add my comments/questions, in random order:

1. Currently triggers, mostly relevant to timeline triggers, contain the state of the effect they apply on the animation's playback. With separate triggers used for start/end, where does that state lives? Or perhaps this design makes them stateless?
2. We probably want `animation-start-trigger-action` to just be `once | always`, since the alternating behavior is part of the exit/end triggering. Then you have the following mapping: `once -> once`, `repeat -> always / reset`, `alternate -> always / direction`, `state -> always / pause`.
3. I don't get what `self` is? What does it do?
4. I assume wherever you put a trailing `|` that means a `<dashed-ident>` can be used, right?
5. If an animation has both a `start` timeline trigger with a `continue` range , and an `end` trigger with its own range, which one is used?

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


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

Received on Sunday, 20 July 2025 07:24:16 UTC