Re: [csswg-drafts] [css-sizing] How to transfer intrinsic keywords via aspect ratio? (#11236)

So the reason browsers have the left column behaviour is likely due to SVG.

This issue is more about how to derive the aspect-ratio, which can come from many places.

E.g.
`<svg width=20 height=10 viewBox="0 0 1 1">`

Here (conceptually) the SVG has an aspect-ratio of 1:1, but then takes the aspect-ratio from the natural-width/height instead.

A rule could be:

The aspect-ratio is derived from:
 - The aspect-ratio property (if specified)
 - else, the natural width/height (if available)
 - else, the natural aspect-ratio (if available)

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


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

Received on Thursday, 30 January 2025 18:25:36 UTC