Re: [csswg-drafts] [css2.2] Section 9.4.1's definition of a BFC is an oversimplification (#12524)

@kannanwisen As one of those developers who admittedly struggled to make sense of the BFC definition, I wholeheartedly support your initiative. I think your phrasing is well articulated, and I suggest the following small refinement:

> A Block Formatting Context vertically stacks a sequence of in-flow block-level boxes and anonymous block-level boxes that wrap line boxes. The vertical position of each block is determined by its preceding block, taking into account margins, clearance, and other flow dynamics. Content within line boxes is arranged horizontally according to an Inline Formatting Context.

[add inline links to every key term  (block-level, anonymous block-level boxes, line box, clearance, ...)]

There is much more to say about BFC, but I don’t think we should try to squeeze everything into a condensed definition. 
I find it perfectly appropriate to include additional prose addressing BFC nuances and its interaction with IFC.


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


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

Received on Thursday, 14 August 2025 19:58:43 UTC