Re: [csswg-drafts] [css-break-4] Should margin-break apply to elements or fragmentation containers?

We did also resolve to add a `margin-trim` property which operates on the container, and it seems reasonable to specify that if it is applied to a fragmentainer it applies to margins at breaks before/after the fragmentainer. https://drafts.csswg.org/css-box-3/#margin-trim

Wrt collapsing margins: if `margin-break` specifies discarding a margin, then all the margins that collapse with it would be discarded. Although I suppose we didn't really specify what happens when some of them are `keep` and some of them are `discard`... probably any with `discard` or `auto` should be discarded and any with `keep` should be kept.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3314#issuecomment-439218520 using your GitHub account

Received on Thursday, 15 November 2018 22:48:16 UTC