Re: [csswg-drafts] [css-anchor-position-1][css-animations-2][scroll-animations-1] Fix name visibility for descendants (#13364)

> Proposal:
> Make position-anchor, animation-timeline, animation-trigger refer to the nearest ancestor declaring that name if found before reaching the `*-scope` element.

I think this is a good proposal as it would:

- Remove the need for adding `*-scope` properties whenever you have a selector that targets multiple elements _(and thus declares multiple anchors/timelines/triggers with that name)_. In my [demos for scroll-linked animations](https://codepen.io/collection/MWJpGG) it felt a bit of an unnecessary-yet-very-necessary thing to do.
- Allow `timeline-scope` to be adjusted so that it matches with how the other `*-scope` properties work, without breaking existing scroll-driven animations code out there.

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


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

Received on Monday, 19 January 2026 19:35:48 UTC