Re: [csswg-drafts] [web-animations-2] Make TimelineTrigger interface support multiple timelines (#13175)

I think we're agreeing on doing this. I am putting this up for an async resolution.

The **proposed resolution** is to modify the `TimelineTrigger` interface to support multiple timelines.

old interface: 

````
interface TimelineTrigger {
   attribute AnimationTimeline timeline;
   attribute any rangeStart;
   attribute any rangeEnd;
   attribute any exitRangeStart;
   attribute any exitRangeEnd;
}
```

Proposed interface: 
```
interface TimelineTrigger {
  attribute sequence<TimelineTriggerRange> ranges;
}

interface TimelineTriggerRange {
   attribute AnimationTimeline timeline;
   attribute any rangeStart;
   attribute any rangeEnd;
   attribute any exitRangeStart;
   attribute any exitRangeEnd;
}
```

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


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

Received on Wednesday, 10 December 2025 11:12:34 UTC