- From: Christoph Päper via GitHub <noreply@w3.org>
- Date: Tue, 10 Feb 2026 15:22:08 +0000
- To: public-css-archive@w3.org
#11505 also is about context-sensitive productions; it’s been discussed only by @romainmenke and @cdoublev yet. The goal there is not to list exceptions from the production, but to list (additionally) available keywords. It refers to [`<boolean-expr[<type>]>`](https://drafts.csswg.org/css-values-5/#boolean) for inspiration (see #10457).
I guess, one of the examples from there could become:
~~~~ ebnf
<calc-size()> =
calc-size( <calc-size-basis>,
<calc-sum +[ size ] >
)
~~~~
However, the production to be amended there is actually `<calc-keyword>` two levels deeper, so maybe it should be: `… <calc-sum ~[ <calc-keyword +[size]> ] > …` 😵💫, i.e. _`<calc-sum>` **wherein** any (nested) occurrence of `<calc-keyword>` is **amended by** `size` as an alternative value_. (The tilde prefix may be unnecessary.)
--
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11924#issuecomment-3878469252 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 February 2026 15:22:09 UTC