- From: Fredrik Söderqvist via GitHub <noreply@w3.org>
- Date: Fri, 19 Dec 2025 09:35:34 +0000
- To: public-svg-issues@w3.org
In that case (width/height unspecified; viewBox), Blink resolves using a _contain_constraint_ against a (default object size of) 300x150 (which is why we end up using the height in this case). This would be consistent with the last step in the default sizing [1] algorithm, which means it's consistent with some "auto sizing" scenarios (like for example SVG `<image>` and `background-image` with `background-size` `auto`). [1] https://www.w3.org/TR/css-images-3/#default-sizing -- GitHub Notification of comment by fsoder Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1044#issuecomment-3674297344 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 December 2025 09:35:34 UTC