W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-logical] Syntax for `margin`-like shorthands

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Apr 2017 13:38:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-297715600-1493300301-sysbot+gh@w3.org>
Having a `margin-mode` property would go hand in hand with the current proposal of `margin: relative 1em 2em 3em 4em;`, i.e. be another longhand property for `margin`. The disadvantage of this is that its value infuences the handling of the other values, which might be unexpected.

I totally agree with @chharvey's [comment](https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-296493530) that `!relative` (or `!` for the same reason) and `margin-relative` have downsides.


GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-297715600 using your GitHub account
Received on Thursday, 27 April 2017 13:38:30 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC