Re: [csswg-drafts] [css-values] Grammar syntax for defining excluded idents for <custom-ident> productions (#11924)

I am not that concerned about confusion around `!`.
I think that the context and surrounding syntax is sufficiently different from `!important`.

With `!important` the concern was specifically that people would interpret `!` as not, which is the meaning we are going for now.

------

The grouping is important though I think, so syntax would be something like:

```
<custom-ident not [none | foo | bar | <non-terminal> | something-long]>
```

Or even:

```
<custom-ident not[none | foo | bar | <non-terminal> | something-long]>
```


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


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

Received on Thursday, 12 March 2026 11:05:02 UTC