Re: [csswg-drafts] [css-contain-2] Size containment is under-specified if used inside of a BFC. (and maybe elsewhere) (#13737)

> How so?

https://drafts.csswg.org/css-grid-2/#subgrid-listing

> "If there is no parent grid, or if the grid container is otherwise forced to establish an independent formatting context (for example, due to layout containment [CSS-CONTAIN-2] or absolute positioning [CSS-POSITION-3]), the used value is the initial value, none, and the grid container is not a subgrid."

container-type forces it to establish an independent formatting context.

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


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

Received on Saturday, 28 March 2026 04:32:01 UTC