Re: [csswg-drafts] [css-display] Unclear definition of "formatting context" (#5105)

> a given formatting context doesn't see the outside world

Yes, and that's why we can't have all boxes establish an independent formatting context.

<div style="float: left">float</div>
<div id="parent" style="border: 3px solid blue">
  <div id="child" style="border: 3px solid green">text</div>

Note that the float shrinks the line boxes of `#child`. But `#child` is not a sibling of the float, it's inside `#parent`. So if `#parent` established an independent formatting context, `#child` could not be affected by the float.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Received on Saturday, 23 May 2020 21:02:47 UTC