[csswg-drafts] [css-values-5][css-conditional-5][css-cascade-5] Boolean Multiplier for ValDef syntax (#11091)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5][css-conditional-5][css-cascade-5] Boolean Multiplier for ValDef syntax ==
We have a number of places in CSS where we use a boolean syntax for combining queries. It takes the form

```
not <x> | <x> [ [ and <x> ]* | [ or <x> ]* ]
```

Tab and I propose creating a new valdef syntax representing the "boolean expression multiplication" of a given production X, so that this can be more easily and obviously re-used. Suggested syntax is `<boolean [ X ]>`, with the brackets both serving as a grouping operator and mimicking the range parameters in numerical types e.g. `<number [-1, 1]>`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11091 using your GitHub account


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

Received on Friday, 25 October 2024 21:10:44 UTC