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

I'm not against this in theory, but I'm concerned about readability. We'd got limited horizontal space, and they're almost always combined with other things. Nice short names are already greatly desired; a three-word non-terminal name is already super long, and that's the *minimum* number of words your example would contain.

I feel like it would end up, for readability's sake, often being written as

```
<something> = [ none | <something-foo> ]+ <number>
<something-foo> = <dashed-ident excluding=none>
```

And if that's what we're going to do, might as well specialize it a little better to encourage that pattern and make it clearer. Not sure how I want to spell it tho.

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


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

Received on Wednesday, 12 March 2025 20:59:16 UTC