- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Nov 2022 20:15:14 +0000
- To: public-css-archive@w3.org
> The brackets can be omitted, see https://drafts.csswg.org/css-values-4/#component-combinators I know. That's why I wrote "at least for readability". > 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. I still don't get that. According to the binding rules and the examples in the spec., your syntax and the one with brackets provided by me seem to be the same. And they both allow all possible combinations and orders, e.g. also `inline-start block-end` or `inline block-end block-start`. Though that aside, I think we agree that the current syntax needs to be changed to allow combining the shorthand with the longhand values, right? Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7884#issuecomment-1302616535 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 20:15:15 UTC