-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
Description
https://drafts.csswg.org/css-values-4/#component-combinators already says
For reorderable combinators (||, &&), ordering of the grammar does not matter: components in the same grouping may be interleaved in any order.
But it may be useful to clarify that components in the same grouping can't be interleaved with components of another grouping, e.g.
a || b || callowsa,b,cor combinations of them in any order[ a || b ] || cis likea || b || cbut it doesn't allowa c bnorb c aa || [ b || c ]is likea || b || cbut it doesn't allowb a cnorc a b
Similarly,
a && b && callows the permutations ofa,bandc[ a && b ] && cis likea && b && cbut it doesn't allowa c bnorb c aa && [ b && c ]is likea && b && cbut it doesn't allowb a cnorc a b
In #7884 there is some confusion about this.