[csswg-drafts] [css-grid] Clarify `subgrid` when forced to establish independent FC (#6164)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Clarify `subgrid` when forced to establish independent FC ==
https://drafts.csswg.org/css-grid-2/#subgrid-listing defines `subgrid` with:

> If there is no parent grid, this value is equivalent to the initial value, `none`, and the grid container is not a subgrid.

I think this should also say that `subgrid` also behaves as `none` if the grid container is forced to [establish an independent formatting context](https://drafts.csswg.org/css-display-3/#establish-an-independent-formatting-context) (e.g. via `contain: layout`).

Because according to https://drafts.csswg.org/css-grid-2/#grid-containers

> a subgrid’s contents participate in its parent grid formatting context; thus a subgrid does not establish an independent formatting context.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6164 using your GitHub account


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

Received on Tuesday, 30 March 2021 22:44:01 UTC