- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Apr 2022 18:03:58 +0000
- To: public-css-archive@w3.org
Any solution that uses the property value to decide between logical and physical, like `/` above or a `logical` keyword, should clarify what happens with `var()`. At parse time we need to know to which longhands a shorthand expands, but due to variables we may not have the value until computed value time. So consider `margin: var(--m)`, where `--m` could be `1px 2px` vs `1px / 2px`, or `1px 2px` vs `1px 2px logical`. Which longhands are set to a pending-substitution value? In what order? IMO it's simpler to use a flag which is not part of the grammar, like `!logical`, or add new shorthands like `margin-logical`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-1105554499 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 April 2022 18:03:59 UTC