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:13:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-641455575-1591722832-sysbot+gh@w3.org>
I think it makes sense to set the `flow-mode` on an element instead of on a file. File settings aren't common in CSS like they are in JS and feel more arbitrary than setting `flow-mode` on a specific parent.

I feel that the example from @elad2412 makes the most sense in this case, with 


I don't think this necessarily competes with `element.style.margin = "1px 2px 3px 4px";`. That would still be valid, inclusive of `flow-mode`.

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

This archive was generated by hypermail 2.4.0 : Saturday, 2 July 2022 03:21:32 UTC