[csswg-drafts] How to stretch an SVG image? (the default `object-fit: fill` behaves similarly to `object-fit: contain`) (#12378)

benface has just created a new issue for https://github.com/w3c/csswg-drafts:

== How to stretch an SVG image? (the default `object-fit: fill` behaves similarly to `object-fit: contain`) ==
Not sure if this is the right place for this question/issue, but I can't for the life of me manage to stretch an `img` with no regard for its aspect ratio if the `src` is an SVG. All browsers have this behavior, not sure if it's specified somewhere?

[Codepen here](https://codepen.io/benface/pen/VYLEQqy)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12378 using your GitHub account


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

Received on Friday, 20 June 2025 15:08:49 UTC