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: Una Kravets via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Jun 2020 17:48:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-641473162-1591724927-sysbot+gh@w3.org>
> @una What if then you read element.style.marginTop? How do we expand the margin shorthand at specified-value time if the expansion depends on the computed value of flow-mode?

`element.style.marginTop` would act like `marginStart` if the parent has a `flow-mode: logical`.

-- 
GitHub Notification of comment by una
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-641473162 using your GitHub account
Received on Tuesday, 9 June 2020 17:48:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC