Re: [csswg-drafts] [css-animations-2] Should there be 2 trigger-scope properties? (#13279)

Yeah, I think I can explain even better (:
Since timelines are consumed by the `animation-timeline` property regardless of their type, having same name for different types actually clashes, right?
For example:

```css
.source-scroll {
  scroll-timeline: --tl;
}

.source-view {
  view-timeline: --tl;
}

.target {
  animation-timeline: --tl;
}
```

So in the above example the names clash anyway, regardless of type.

And with `event-trigger` and `timeline-trigger` we have the same mechanism where these are both consumed by the `animation-trigger` property.
So regardless of type, the names clash.

So I think the answer is: there should be a single `trigger-scope` property.

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


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

Received on Monday, 5 January 2026 19:36:26 UTC