Re: [csswg-drafts] [css-box-4] Longhand values of `margin-trim` allow more combinations than shorthand values (#7884)

The brackets can be omitted, see https://drafts.csswg.org/css-values-4/#component-combinators

> the double bar is stronger than the bar. Thus, the following lines are equivalent:
> ```
>   a b   |   c ||   d &&   e f
> [ a b ] | [ c || [ d && [ e f ]]]
> ```

But yeah I guess `||` is not associative, since can only be reordered in the same grouping:

> For reorderable combinators (||, &&), ordering of the grammar does not matter: components in the same grouping may be interleaved in any order.

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


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

Received on Thursday, 3 November 2022 13:49:03 UTC