[css-grid] Set initial growth limits of flexible tracks to infinity · Issue #4313 · w3c/csswg-drafts (original) (raw)

https://drafts.csswg.org/css-grid/#algo-init says

However, later in https://drafts.csswg.org/css-grid/#algo-spanning-flex-items, we have

treating flexible tracks as having an infinite growth limit

It would be simpler to just drop the latter and change the former to initialize growth limits to infinity for flexible tracks.

This shouldn't matter in practice:

  1. Increase sizes to accommodate spanning items crossing flexible tracks is where we are considering tracks to have an infinite growth limit, which won't be necessary after the change
  2. https://drafts.csswg.org/css-grid/#algo-finite-growth already sets infinite growth limits to the base size, so the change can't have effects beyond this.