- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Sun, 07 Oct 2018 00:29:03 +0000
- To: public-css-archive@w3.org
To make progress on this, regarding the `-webkit-` prefixed ones, I suggest the following properties: margin-collapse: [ collapse | separate ]{1,2} margin-collapse-start / margin-collapse-end: collapse | separate Where the first value of `margin-collapse` sets the start value and the second one the end value. If just one is set, it applies to both. Questions: 1. Should there be a `discard` value? I don't see a use case it, as you can always set the margin of the element to 0, also [in logical direction](https://drafts.csswg.org/css-logical-1/#margin-properties). 2. Are the physical variants `margin-collapse-top` and `margin-collapse-bottom` needed? As far as I can see, margin collapsing only happens in block direction. (Actually, [CSS 2.2 says that vertical margins collapse and horizontal ones don't](https://drafts.csswg.org/css2/box.html#collapsing-margins), though it should probably be changed in regard of writing modes. This should be clarified in #2759.) 3. Is there a use case for collapsing margins in inline direction? Currently they are defined to never collapse, see above. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2839#issuecomment-427616070 using your GitHub account
Received on Sunday, 7 October 2018 00:29:05 UTC