Re: [csswg-drafts] [css-conditional] `@supports-condition`, for larger feature queries and named reuse (#12622)

I think this largely seems reasonable, but one thing I'm a little nervous about is allowing these named conditions to intermix with property-value pairs inside `@supports` without a function (maybe `condition()` to match the `@`-rule that defines it?) to contain the name.

In other words, I wonder if what the spec draft writes as:
```css
@supports (--thicker-underlines) {
```
should instead be written as:
```css
@supports condition(--thicker-underlines) {
```

In particular, if we later support some sort of mixin syntax with `<custom-ident>` that allows author-named pieces of syntax to be substituted for one or more property-value pairs, it seems like the syntax used here might look like a test for support for such a mixin syntax.

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


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

Received on Monday, 20 October 2025 21:05:28 UTC