W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-logical] Flow-relative syntax for `margin`-like shorthands (#1282)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Jun 2020 18:37:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-641498063-1591727851-sysbot+gh@w3.org>
Ah, so you want the expansion to depend on the computed `flow-mode` of the parent element, instead of the element itself? Then, what if the `flow-mode` of the parent changes after expanding `margin: 1px 2px 3px 4px`? Should we keep track of the original shorthand declaration, so that it can be expanded again with the new mode? Or should we just keep the longhands of the old expansion?

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-641498063 using your GitHub account
Received on Tuesday, 9 June 2020 18:37:34 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:12 UTC