Re: [csswg-drafts] [css-contain-3][css-grid-2] Interaction between subgrid, and containment. (#7091)

We had earlier resolved on (2) for layout containment, see [the definition of the `subgrid` keyword](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]), the used value is the initial value, none, and the grid container is not a subgrid.

For size containment, could you elaborate on what you think might be problematic? The definition of size containment will cause the subgrid to lay out (and affect its parent grid) as if it were empty, which seems well-defined and unproblematic; after the parent grid has sized, the subgrid will have definite sizes for its tracks, and can do layout of its items normally. Are there complications we're missing?

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


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

Received on Monday, 28 February 2022 23:52:03 UTC