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

`overflow` does not change the interpretation of `max-content`, so the two of them are necessarily the same.

Going from the notes in https://github.com/w3c/csswg-drafts/issues/5032#issuecomment-639874263 ...

If we had `width: max-content; height: 100px; aspect-ratio: 1/1`, `max-content` would resolve to 100px, because `max-content` is the upper bound of the shrink-to-fit (fit-content) width, and setting the `width` value aside because we're calculating it, the width range of shrink-to-fit is 100px to 100px here. So `min-width: max-content; height: 100px; aspect-ratio: 1/1` would have to be the same: both the `width` (which is `auto`) and the `min-width` (which is `max-content`) resolve based on the aspect ratio.

I think that's the correct logic? We can consider some other logic, but, afaict that's what's outlined in https://github.com/w3c/csswg-drafts/issues/5032#issuecomment-639874263

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

Received on Monday, 15 June 2020 18:19:57 UTC