- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Fri, 23 Jan 2026 23:41:04 +0000
- To: public-css-archive@w3.org
I don't think it's because of a buggy test. It's because, in the 2nd case, when computing the min/max-content inline sizes you transfer size constraints from the block axis thru the aspect ratio. So `min-height: 60px` gets transferred into `min-width: 60px`. And this results in a width of 100px: ```html <div style="display: inline-grid; background: green; height: 10px; min-width: 60px; grid-template-columns: repeat(auto-fill, 50px);"></div> ``` In the first case, though, you first compute the min/max-content inline sizes. And you don't want to perform layout when doing so, so you just transfer `min-height: 60px`, even if grid layout would end up producing a height of 100px. And this results in a width of 60px: ```html <div style="display: inline-grid; background: green; height: 10px; min-width: 60px; grid-template-rows: repeat(auto-fill, 50px);"></div> ``` -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12964#issuecomment-3793026486 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 23 January 2026 23:41:05 UTC