[css-grid] Applying 'align-content' content distribution to row estimation in step 1 in Grid Sizing algo · Issue #2697 · w3c/csswg-drafts (original) (raw)
Follow-up from #2557.
The row size estimation for step 1 mentions "if any row with a definite max track sizing function had that size and all other rows were infinite". I tend to think this implies that if all rows have a definite max track sizing function, and the container has a definite block-size, that align-content
should be applied. @javifernandez' example in #2557:
XXX XX X XX X XXX
should render exactly the same as if we add grid-row-gap:100px
:
XXX XX X XX X XXX
So I propose we add align-content
content distribution for this specific case (all rows have definite max size) to the row estimation heuristics for step 1.