- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Sat, 07 Oct 2023 09:10:22 +0000
- To: public-css-archive@w3.org
Can you please confirm that your intent is to apply the `not all`-ification only in the first case below? 1. `1`: it does not match any branch of the grammar 2. `unknown`: it matches `<media-type>` (`<ident>`) and evaluates to `unknown` 3. `(unkown)`: it matches `<general-enclosed>` and evaluates to `unknown` I would definitely expect it to apply in (this very contrived example): ```js styleSheet.insertRule(`@media ${matchMedia(';').media} {}}`) ``` --- @tomayac, maybe this could be a solution? > Resolved: Add an `at-rule` function with syntax `at-rule(@keyword)` or `at-rule(@keyword; descriptor: value)` https://github.com/w3c/csswg-drafts/issues/2463#issuecomment-1016720310 For example, `@supports (@media; some-feature)`. Media queries are not *technically* descriptors though, so maybe `@supports media-query(some-feature)`. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7595#issuecomment-1751659609 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 7 October 2023 09:10:24 UTC