Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio affect the intrinsic size? (#5032)

For SVG, it's the intrinsic aspect ratio is defined as distinct from the intrinsic width and height. An element can have an intrinsic height, an intrinsic aspect ratio, and still no intrinsic width:

https://svgwg.org/svg2-draft/coords.html#SizingSVGInCSS

However, in that case, the CSS [default sizing algorithm](https://www.w3.org/TR/css-images-3/#concrete-size-resolution) kicks in to calculate the size of the other dimension. But different sizing algorithms can apply in other contexts (e.g., flexbox).

Also see this HTML issue about how browsers don't currently expose intrinsic / “natural” sizes consistently for images: https://github.com/whatwg/html/issues/3510

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

Received on Thursday, 30 April 2020 19:14:35 UTC