Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-display] display: grid doesn't establish a GFC for subgrids #6157

Closed
Loirooriol opened this issue Mar 29, 2021 · 1 comment
Closed

[css-display] display: grid doesn't establish a GFC for subgrids #6157

Loirooriol opened this issue Mar 29, 2021 · 1 comment
Labels
css-display-3 Current Work

Comments

@Loirooriol
Copy link
Contributor

Loirooriol commented Mar 29, 2021

A mentioned in #2598 (comment), https://drafts.csswg.org/css-display-3/#valdef-display-grid says

grid
The element generates a principal grid container box, and establishes a grid formatting context.

However, subgrids don't establish a GFC. See https://www.w3.org/TR/css-grid-2/#grid-container

A grid container that is not a subgrid establishes an independent grid formatting context for its contents.

@Loirooriol Loirooriol added the css-display-3 Current Work label Mar 29, 2021
@tabatkins
Copy link
Member

Yes, this is true, I suppose we can be a little clearer with subgrid there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-display-3 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants