- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Tue, 03 Mar 2026 23:18:51 +0000
- To: public-css-archive@w3.org
Lol, we really don't have to express every possible restriction in the grammar. It's perfectly fine to have some prose restrictions so that things stay readable and comprehensible for people that aren't grammar-heads; it's already hard to read. -------- The thing that's been bugging me the most here has just been folding this into the grammar of the non-terminal. It keeps feeling too noisy. I think we could get away with a subtraction operator instead, defining that it can only be used in certain restrictive ways, like: ``` <'property'> = <custom-ident> - [ none | foo | bar | baz | something-long ] ``` The LHS would have to be a `<custom-ident>` or similar allowed production, while the RHS would have to be disjunction of keywords (or a non-terminal that resolves to such). -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11924#issuecomment-3994170319 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 March 2026 23:18:52 UTC