Re: [csswg-drafts] [animation-triggers-1] Multiple named triggers (#13710)

I feel like closing this may be premature? In the discussion, we talked about how this might be able to work for timeline triggers but that we needed specific details until we could decide if that was a reasonable thing to do.

IF you can combine arbitrary triggers, then I think it would work like this. The trigger itself has a state, and any number of source triggers that can activate or deactivate that state. The source timeline triggers themselves have a state so that they can enter the entry range, and remain active until they leave the exit range. They generate events that change the main trigger's state when these changes happen.

This would effectively makes combining triggers into a single name like a logical OR, and as discussed prior listing multiple triggers on an animation-trigger is the equivalent of a logical AND.

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


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

Received on Thursday, 26 March 2026 15:23:51 UTC