[csswg-drafts] [css-sizing-4] aspect-ratio: minimum/maximum instead of preferred (#5463)

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

== [css-sizing-4] aspect-ratio: minimum/maximum instead of preferred ==
What if we want to control the layout this way:
* The height is determined by the content
* The max-height is determined by a specified aspect ratio

Example:
<img src="https://ferenci84.s3.eu-west-1.amazonaws.com/Screenshot_20200822_082132.png" />

The aspect-ratio allows determining the preferred aspect ratio, but sometimes it's not a fixed aspect-ratio, but a range. In the example I don't want the container to be taller than 1:1.

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


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

Received on Saturday, 22 August 2020 06:34:52 UTC