Re: [csswg-drafts] [css-values-4] Way to set height, max-height, min-height relative to width (#5461)

Unfortunately, units referring to an element's width like that lead to circularities in the layout system pretty quickly.

Fortunately, we now have the [`aspect-ratio` property](https://drafts.csswg.org/css-sizing-4/#ratios), which is being implemented *right now* in browsers. ^_^

I'll go ahead and close this, since `aspect-ratio` does what you're asking for.

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


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

Received on Friday, 21 August 2020 15:48:27 UTC