@fantasai @SaraSoueidan should be nothing inherently slow about this, however I don't think it does what you want.
There is one `:target-current` link within a scroll-target-group, so in your TOC you won't have a :target-current link if one of your links from one section's contents to another is currently active, e.g.
```
Table of contents
- a#chapter1
- a#chapter2
First chapter contents defines #term.
See a#term from...
```
The expectation is that the UA stylesheet would have something like
[inert] { interactivity: inert !important; }
And there are no immediate plans to extend that with a way to undo the inertness.
Currently the css-overflow-5 draft spec allows using :checked to style the active scroll marker. See flackr/carousel#28 for previous discussion on this. On the semantics, a marker can be implicitly...
@mia @jimniels Indeed I am. I'm adding a feature currently called scroll-markers https://github.com/w3c/csswg-drafts/issues/10720 to overflow-5. With this the anchor link (in a group) that is currently scrolled to can be styled with
:checked { color: red; }
I have a demo at https://flackr.github.io/carousel/examples/scroll-marker/scrolltarget/ which shows exactly what this would look like with multiple groups and inline links.