-
Notifications
You must be signed in to change notification settings - Fork 780
Open
Labels
Description
In the following test case:
<p>Test passes if there is a filled green square.</p>
<div style="display: inline-grid; background: green; aspect-ratio: 1/1; min-height: 60px; grid-template-rows: repeat(auto-fill, 50px);"></div>
All browsers appear to render a 60x60 green square, as opposed to 100x100. In order to hit the min-height, though, you'd expect to produce 2 50px rows.
In the column direction, however, this works as expected, and 2 50px columns are produced, resulting in a 100x100 square:
<p>Test passes if there is a filled green square.</p>
<div style="display: inline-grid; background: green; aspect-ratio: 1/1; min-height: 60px; grid-template-columns: repeat(auto-fill, 50px);"></div>
Is this expected to only work in the column direction? (Same question applies for masonry)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Agenda+