Re: [csswg-drafts] Clarification needed on simultaneous block and inline formatting contexts for block container boxes (#11177)

>A block container that is forced to establish an independent formatting context will establish a BFC. But if it only contains inline-level contents, then it will also establish an inline FC.


This claim, particularly the use of "also," seems contradictory to the CSS specification on "[normal flow.](https://www.w3.org/TR/CSS2/visuren.html#normal-flow)"

>Quote
"9.4 Normal flow: Boxes in the normal flow belong to a formatting context, which may be block or inline, but not both simultaneously. [Block-level](https://www.w3.org/TR/CSS2/visuren.html#block-level) boxes participate in a [block formatting](https://www.w3.org/TR/CSS2/visuren.html#block-formatting) context. [Inline-level boxes](https://www.w3.org/TR/CSS2/visuren.html#inline-level) participate in an [inline formatting](https://www.w3.org/TR/CSS2/visuren.html#inline-formatting) context."

The idea of two contexts coexisting doesn’t appear to serve any clear purpose and, in fact, seems to contradict the CSS standard.

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


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

Received on Monday, 11 November 2024 18:50:36 UTC