Skip to content

Statement is misleading #39875

Open
@kannanwisen

Description

@kannanwisen

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout

What specific section or headline is this issue about?

Implicit and explicit grids
Track Sizing and minmax

What information was incorrect, unhelpful, or incomplete?

Statement 1 (Implicit and explicit grids): These tracks will be auto-sized by default, resulting in their size being based on the content that is inside them.

Statement 2 (Track Sizing and minmax): Setting auto as the maximum value means the size will stretch to fit the content, sizing the row based on the cell with the tallest content.

What did you expect to see?

Statement 1: The size of implicit tracks (with default auto sizing) is not only based on their content, but also significantly influenced by the available free space within the grid container. The "auto" keyword is a flexible unit that tries to accommodate content while also filling space.

Statement 2: Setting auto as the maximum value allows the track to grow to accommodate its content (up to its max-content size) and also to share any available free space within the grid container.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions