Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio apply for width: auto; height: auto;? (#5060)

> Intriguingly, unlike the SVG, Firefox does not apply the right aspect ratio for `<img>`:
> https://jsfiddle.net/dgrogan/djh5wu0x/1/
> 
> @dholbert , what's up with that? :)

I'm not sure offhand why there's an img/svg difference, but Chrome & Firefox do agree on that being a difference. Here's an expanded version of your fiddle, comparing img vs. svg-with-intrinsic-size, for both `stretch` and `flex-start` -- Firefox and Chrome agree on the rendering https://jsfiddle.net/dholbert/wxr4jsg1/

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

Received on Monday, 18 May 2020 17:13:40 UTC