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

Somehow I failed to find this issue and proposed the same in #13393. I came to the same conclusion as @AtkinsSJ for the syntax except I believe it could even work without the exclamation mark (or, alternatively, a minus sign).

~~~~ ebnf
<custom-ident [none]>

<custom-ident ![none]>

<custom-ident -[none]>
~~~~

I also thought about allowing more than just keywords in the exclusions list. 

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


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

Received on Wednesday, 28 January 2026 06:16:00 UTC