Re: [csswg-drafts] [scroll-animations-1] Add a way for timeline-scope to pull up all contained timelines (#9158)

> Hmm, I'm not sure if I see how this could help here?

Syntax of how exactly to remove some value, you’d have two `timeline-scope` declarations. One that sets the value to `all`, and one that removes `--d`.

```html
<div class="b" style="timeline-scope: all; timeline-scope:- --d;">
```

However, now that I’ve written the above: that would still require some way of actually computing that to _“all except --d”_. Hmm. 🤔

My suggestion here would be to split off this requested `except()` behavior, so that we can resolve on adding `all` as a keyword. Afterwards, we can think on how to exclude certain values, which could also be applied to anchoring. I’m assuming `except()` would be a pretty niche feature, with limited use-cases, whereas `all` is a more broader/common feature.

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


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

Received on Tuesday, 3 October 2023 12:34:55 UTC