Skip to content

[css-grid-3] grid-template-areas in masonry #7995

@Loirooriol

Description

@Loirooriol

https://drafts.csswg.org/css-grid-3/ seems to assume that the explicit grid has 0 tracks in the masonry axis.

This is usually the case, since grid-template-rows/columns needs to be set to masonry instead of a list of track sizes.
However, grid-template-areas can also add tracks into the explicit grid.

I still don't fully understand how masonry works, but testing in Firefox it seems that grid-template-areas is allowed to name lines but not create explicit tracks.

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