[csswg-drafts] [css-display-3] Clarify whether the initial containing block establishes a block formatting context (#7207)

andyjakubowski has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display-3] Clarify whether the initial containing block establishes a block formatting context ==
Empirically, the root element’s box is laid out like a block-level box in a block formatting context. But I can’t find any information in the specs about anything creating the context into which the root element’s box would be laid out.

According to the [definition of formatting context in the Glossary](https://drafts.csswg.org/css-display-3/#formatting-context), formatting contexts are created by boxes, which implies the initial containing block can’t create one.

Is it correct to say that the initial containing block establishes a block formatting context for the root element? And that the root element also establishes a new block formatting context, as evidenced by its containment of floats?

And, assuming that the ICB does establish the first block formatting context, is it weird that the root element’s box establishes a new block formatting context even though it “doesn’t have to”?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7207 using your GitHub account


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

Received on Friday, 8 April 2022 12:09:54 UTC