Re: [csswg-drafts] [css-sizing] Which replaced elements stretch? (#12612)

The CSS Working Group just discussed `[css-sizing] Which replaced elements stretch?`, and agreed to the following:

* `RESOLVED: spec what browsers are doing.`

<details><summary>The full IRC log of that discussion</summary>
&lt;noamr> oriol: there are some replaced elements that stretch in the inline axis. the exact mechanism is not clear. I want to discuss in which cases this should happen<br>
&lt;noamr> oriol: this happens with replaced elements that don't have natural sizes, e.g. SVG can have natural size with width/height, image gets it from the resources. also a non-degenearate aspect ratio, e.g. natural or from the CSS prop<br>
&lt;noamr> oriol: browsers agree with this, but eg in iframes gecko and webkit ignore the aspect ratio, but it works because iframe doesn't have preferred aspect ratio. can we resolve on those two conditions?<br>
&lt;emilio> +1<br>
&lt;fantasai> scribe+<br>
&lt;fantasai> fantasai: consistency seems good?<br>
&lt;kbabbitt> +1 for consistency<br>
&lt;noamr> iank_: it happens when there is no aspect ratio and no natural sizing<br>
&lt;noamr> PROPOSED RESOLUTION: spec what browsers are doing.<br>
&lt;iank_> s/no aspect ratio/non-degenerate aspect ratio/<br>
&lt;noamr> RSOLVED: spec what browsers are doing.<br>
&lt;noamr> RESOLVED: spec what browsers are doing.<br>
&lt;noamr> iank_: do you want to discuss what this effect?<br>
&lt;astearns> s/what/which elements use/<br>
&lt;noamr> oriol: It matches all replaced elements, but some don't have preferred aspect ratio, e.g. iframe or not-ready video<br>
&lt;noamr> iank_: there is a bug on other browsers to drop natural sizes on video. so that's fine<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12612#issuecomment-3530265966 using your GitHub account


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

Received on Friday, 14 November 2025 00:15:16 UTC