Post

Last thing: This expression `@scope (h3) to (p)` means "Inside an h3 but outside a p", not "the siblings between h3 and p". I think having the same keywords to mean different (but close) things can create a lot of confusion.

Yep, it technically doesn't work as I stated in the article. The proposed idea here is the “gap between the h3 and p”. Not sure yet on how to handle this the best.

0 reposts0 likes

Now that I'm thinking about it, it would be nice to have a selector for stuff between two siblings. That would not be easy to implement, though, based on the time we had to wait for :has…