- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 03 Mar 2025 13:25:22 +0000
- To: public-css-archive@w3.org
Not related to grid at all. In fact this seems rather under the scope of https://html.spec.whatwg.org/multipage/rendering.html#images-3 rather than CSS. ```html <!DOCTYPE html> <img src="about:invalid" style="min-width: 150px; width: 300px; border: solid"> ``` | Gecko | Blink | WebKit | | - | - | - | |  |  |  | Since the element has no `alt` attribute, HTML says to treat it as replaced. Therefore, Blink is wrong to ignore `width` just because it has `display: inline`. It doesn't ignore `min-width`, so it's quite weird. 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. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11806#issuecomment-2694382382 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 13:25:23 UTC