Skip to content

[css-grid] What if base sizes of both auto/min-content and max-content minimums are being handled? #3621

Closed
@Loirooriol

Description

@Loirooriol

From https://drafts.csswg.org/css-grid/#algo-spanning-items,

For intrinsic minimums: First increase the base size of tracks with an intrinsic min track sizing function by distributing extra space as needed to accommodate these items’ minimum contributions.

But then https://drafts.csswg.org/css-grid/#extra-space says

If space remains after all tracks are frozen, unfreeze and continue to distribute space to the item-incurred increase of…

  • when handling base sizes of tracks with min-content or auto minimums: [...]
  • when handling base sizes of tracks with max-content minimums: [...]

What if the item spans a track with a min-content or auto minimum, and another with max-content, and the base sizes of both tracks are being simultaneously handled because both are intrinsic? To which tracks do you distribute space? The union of both cases? The intersection (all affected tracks if empty)? Something else?

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