Re: [csswg-drafts] How to increase margins of containers for pending floats ? (#4052)

> you've broken the two parts of the "TEXT HERE... TEXT HERE"

Irrelevant, that's outside the inner box BFC root

> And your test should include further "TEXTHERE" content after the inner box.

This was not in your graphics, but also irrelevant

> As well the inner box may contain their own floats

OK, that's the real reason that prevents you from using a BFC root. You should have said this from the beginning instead of insisting that BFC roots don't work.

It seems what you need is a feature that prevents block boxes from overlapping floats (as if they were BFC roots) but without establishing an independent formatting context, to avoid containing inner floats. To me this seems more reasonable than `margin: 2px+0.5em`.

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

Received on Friday, 28 June 2019 02:24:26 UTC