Skip to content

[css-grid-2] support automatic grid span for subgrids? #2565

Closed
@MatsPalmgren

Description

@MatsPalmgren

IIRC, the early subgrid specs had a concept of an automatic grid span. I think it might be worth adding that back in some simplified form. If we impose the restriction that the outer grid needs to know the subgrid's extent upfront for placing purposes I think we could at least support making the automatic grid span be the maximum of the extent of the subgrid's grid-template-columns/rows and grid-template-areas properties (the same way those properties provides the size for the explicit grid in non-subgrids).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions