Skip to content

[css-grid-3][Masonry] repeat(auto-fill) and minmax() #12573

@alisonmaher

Description

@alisonmaher

In css-grid-3 is a tentative definition for sizing auto tracks within an auto repeat.

Accoriding to css-grid-2, "For this purpose, each track is treated as its max track sizing function if that is definite or else its min track sizing function if that is definite. If both are definite, floor the max track sizing function by the min track sizing function. If neither are definite, the number of repetitions is one."

With the new Masonry functionality, do we want to keep the same definition for minmax() calculations, or do we want to allow an intrinsic size passed in to be calculated here, as well?

It would be simpler to keep this same definition in masonry, but if there is a strong use case for it, that may be something we can consider.

CC @tabatkins @bfgeek

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions