Join GitHub today
[css-grid] New stretch "auto" tracks steps needs more text for indefinite height grid containers #1866
We've implemented that in Blink and WebKit but found a regression due to this change.
<div style="display: grid; min-height: 200px; border: solid thick;"> <div style="background: cyan; font: 20px/1 Monospace">item</div> </div>
In this case the height of the grid container is indefinite, the size of the row is calculated as the height of the text (20px) . Then when we are in the Stretch auto Tracks step we don't stretch the track as the free space is not definite.
The problem is that this new step lacks some text like the one we have for flexible tracks:
I believe we'd need to add something like this to the new step too, to avoid this issue.