Re: [csswg-drafts] [scroll-animations-1] Scope of Named Timelines (#7047)

The other option without introducing an explicit scope would be to make it visible to all subsequent elements in DOM order (i.e. ancestor siblings as well). To make the case @brunostasse brought up work you'd have to put the tabs after the scroller so that the scroller could define the scroll timeline before the tabs. Then you could use grid or flex layout to put the tabs above even though they are declared later. This doesn't seem as nice from a developer standpoint though.

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


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

Received on Wednesday, 29 June 2022 12:59:37 UTC