[css-grid-2] support automatic grid span for subgrids? · Issue #2565 · w3c/csswg-drafts (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@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).