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

Not saying this is better, but what I ended up using in Ladybird's data files was `<custom-ident ![foo, bar, baz]>`, because it's brief and similar to the numeric range syntax, which I think is the only other place that parameterizes a value.

The subtraction syntax does wrap better, but it also feels less obvious that the keyword list is part of that custom-ident definition.

Could always spread this across multiple lines for readability. Eg,

```
<custom-ident
    ![ none | foo | bar | baz | something-long ]
>
```

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


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

Received on Thursday, 13 March 2025 08:11:13 UTC