Re: [csswg-drafts] Proposal: a way to enable margin-collapse on BFC? or a new type of context like BFC but with margin-collapse? (#6752)

@Loirooriol 

Yes, `margin-trim` is a bit tangential—it would just provide a better way than the `> :first-child ...` business to "compensate" for the suppression of the margin-collapse that the BFC introduces. The main point is to prevent the overlap in the first place, in a way that doesn't suppress margin-collapse (and that doesn't affect the layout of the item when it isn't against a float).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 22 October 2021 18:15:38 UTC