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

"Percentages mostly resolve against container size (or available space)"
One of the solutions would be exactly the same, with a small difference:
The element height instead of resolving against container size in horizontal direction, it would resolve against the container side in vertical direction.
The CSS already does this in the same axis. Doing it in different axis should be a lot simpler.
(Yes, I know it's not simple, and will take work, of course it should be formulated, by bringing other developers' opinions, so that the advantage worth the invested energy)
What do you think?


-- 
GitHub Notification of comment by ferenci84
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5461#issuecomment-678599101 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 05:47:40 UTC