- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Apr 2024 12:00:59 +0000
- To: public-css-archive@w3.org
> it could have limits and throw when those limits are exceeded
This seems very fragile. I would prefer a different design that doesn't suffer from this, e.g.
```js
document.querySelectorAllWithNesting("a, b", "& c, & d", "& e, & f")
```
instead of
```js
document.querySelectorAll("a c e, a c f, a d e, a d f, b c e, b c f, b d e, b d f")
document.querySelectorAll(":is(:is(a, b) c, :is(a, b) d) e, :is(:is(a, b) c, :is(a, b) d) f")
```
> This would serialize selectors with `:is()`
This doesn't avoid the problem.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10246#issuecomment-2074779879 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 April 2024 12:00:59 UTC