- From: Tobias Buschor via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Apr 2021 15:29:41 +0000
- To: public-css-archive@w3.org
nuxodin has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-contain-3] Container Queries and DOM-APIs like querySelector ==
With the current Syntax, its not possible to query Elements using apis like querySelector.
I might like to use this:
```js
.querySelector(' .card:container(min-width: 450px) ');
```
But the current Syntac does not allow this.
Or it would look a little unconventional:
```js
.querySelector(' @container (min-width: 400px) { .c-article ')
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6215 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 April 2021 15:29:43 UTC