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

note that your example with BFC is not consistant: you've broken the two parts of the "TEXT HERE... TEXT HERE", but this is the SAME inline content flowing around the prior float.
And your test should include further "TEXTHERE" content after the inner box.

As well the inner box may contain their own floats (that will also align vertically normally with the prior float), stacking vertically normally.
All that I need is to make sure that a designated part of the parent content becomes a true rectangle not covered by any prior floats

And this rectagnel is were we can also place bulleted lists (for now this never works, the list items are incorrectly aligned because the bullet margin collapses into where the prior float are placed: they are aligned to the margin of the parent box, and not aligned with the margin of the prior floats where "normal" text flows.

Text indentation in the content also does not work (it is broken by the presence of prior floats: we should be able to isolate them within inner boxes where the margins are increased). So the inner box can be:
* a list item (including its bullet or number)
* a full paragraph
* a borderedand/or filled area that should remain rectangular (except their inner own floats that can flow outside the rectangle to fill the margin not used by prior floats.



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

Received on Friday, 28 June 2019 01:55:04 UTC