Re: [csswg-drafts] [css-grid-2] Inconsistent min/max-content contribution for images that failed to load (#11806)

>Gecko and WebKit apply a natural aspect ratio of 1. HTML should probably clarify whether "treat the element as a [replaced element](https://drafts.csswg.org/css-display/#replaced-element)" uses any natural sizes or ratio.

Why? The spec already [defines](https://drafts.csswg.org/css2/#inline-replaced-height) how to handle replaced inline elements with `height: auto` and no specified aspect ratio—the default is 2:1.

>Therefore, Blink is wrong to ignore width just because it has display: inline. It doesn't ignore min-width, so it's quite weird.

But why does Chrome set the height of Row 2 to 200px instead of 400px?


-- 
GitHub Notification of comment by gitspeaks
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11806#issuecomment-2694532159 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 3 March 2025 14:13:01 UTC