Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

Is it possible, perhaps, to have an attached scroller without it explicitly declaring it's providing attachment upwards to an ancestor scope?

Borrowing from @flackr's example, with @tabatkins' modification we should have something like:
```html
<style>
#parent {
  scroll-timeline-name: scroller;
  scroll-timeline-axis: defer;
}
#scroller {
  scroll-timeline-name: scroller;
  scroll-timeline-axis: block;
}
#animated {
  animation-timeline: scroller;
}
</style>

<div id="parent">
  <div>
    <div id="animated"></div>
  </div>
  <div id="scroller"></div>
</div>
```

And then `scroller` should be able to provide attachment both upwards and downwards, and we don't have any awkward specifiable options.
Right?

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


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

Received on Wednesday, 26 April 2023 07:39:06 UTC