Re: [csswg-drafts] Questions: what does block-level element versus just block element mean? and other formatting context related questions. (#13634)

> what does block-level element versus just block element mean?

See https://drafts.csswg.org/css-display-3/#block

> is this assumption correct?

Hard to tell what the arrows represent, but an element has an outer display type and an inner one, yes. See https://drafts.csswg.org/css-display-3/#display-type

> if the outer display type is "block" and the inner display type "flow" or "flow-root" then the formatting context will be a "block formatting context"?

See https://drafts.csswg.org/css-display-3/#block-container

"flow-root" always establishes a block formatting context, regardless of the outer display type.

"flow" with a block outer display type can either establish a block formatting context, or continue the block formatting context of its parent.

In both cases, in addition to the above, it can establish an inline formatting context, or not.

> "inline" coupled with "flow/flow-root" it will generate a "inline formatting context"

"inline flow" doesn't establish any formatting context at all.

"inline flow-root" is covered above. Block formatting context and maybe inline formatting context.

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


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

Received on Thursday, 12 March 2026 05:10:56 UTC