Skip to content

[css-grid] The value of the fixed track sizing function doesn't seem to matter when resolving intrinsic track sizes #3706

@Loirooriol

Description

@Loirooriol

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

Increase sizes to accommodate spanning items crossing flexible tracks: Next, repeat the previous step instead considering (together, rather than grouped by span size) all items that do span a track with a flexible sizing function while [...] distributing space only to flexible tracks (i.e. treating all other tracks as having a fixed sizing function of their current base size)

If I'm not missing anything, the "Resolve Intrinsic Track Sizes" algorithm doesn't use the value of the track sizing function in case it's fixed. So it doesn't seem to matter whether it's treated as the current base size, 0, 100px, or any other fixed value. I think the sentence could be shortened to

distributing space only to flexible tracks (i.e. treating all other tracks as having a fixed sizing function)

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