Re: [csswg-drafts] Proposal: "until" pseudo selector (#8815)

Going back to the specific proposal, I don't like that `:until` does not impose a constraint on the matching element, but on the preceding combinator. This seems more logical:

```css
div.active ~(:not(div)) a { color: red }
```

So `~` is like `+`, `+ * +`, `+ * + * +`, etc. but we would restrict it to `+`, `+ :not(div) + `, `+ :not(div) + :not(div) +`, etc.

But not sure if something like this is worth it if `@scope` can already cover the usecases.

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


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

Received on Monday, 8 May 2023 13:49:26 UTC