Re: [csswg-drafts] [scroll-animations-1] Add self keyword (#8471)

> You need to define what happens when the element's own box isn't a [=scroll container=].

I would have thought these cases are covered by the text in the [ScrollTimeline interface](https://drafts.csswg.org/scroll-animations-1/#scrolltimeline-interface):
> If the [source](https://drafts.csswg.org/scroll-animations-1/#dom-scrolltimeline-source) of a [ScrollTimeline](https://drafts.csswg.org/scroll-animations-1/#scrolltimeline) is an element whose [principal box](https://drafts.csswg.org/css-display-4/#principal-box) does not exist or is not a [scroll container](https://drafts.csswg.org/css-overflow-3/#scroll-container), or if there is no [scrollable overflow](https://drafts.csswg.org/css-overflow-3/#scrollable-overflow), then the [ScrollTimeline](https://drafts.csswg.org/scroll-animations-1/#scrolltimeline) is [inactive](https://drafts.csswg.org/web-animations-1/#inactive-timeline).

Do we define this for [scroll-timeline-name](https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-name) as well since that can target a non scroll container?

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


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

Received on Wednesday, 8 March 2023 00:17:44 UTC