Re: [csswg-drafts] [css-display] Are text sequences always wrapped with anonymous boxes? (#8750)

@tabatkins Thanks for the follow up!
The spec says:

> A block container either contains only inline-level boxes participating in an [inline formatting context](https://drafts.csswg.org/css-display-4/#inline-formatting-context), or contains only block-level boxes participating in a [block formatting context](https://drafts.csswg.org/css-display-4/#block-formatting-context) (possibly generating anonymous block boxes to ensure this constraint, as defined in [CSS2ยง9.2.1.1](https://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level)).

Given a markup like this:
`<body>Hi</body>`

Since body only has a text sequence, which is not an inline-level box nor a block-level box, does that mean the body element is not a block container?

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


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

Received on Tuesday, 25 April 2023 18:22:35 UTC