W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Jul 2020 18:40:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-661264796-1595270413-sysbot+gh@w3.org>
@bfgeek Right; the idea of `width: fit-content` is that it gives the same results as `width: auto` on a float. And `width: auto` on the float, as you note, should be exactly aspect-ratio x height in this case. If `min-content` and `max-content` are to represent the extremes of `fit-content`’s size range, they can't be based on the content sizes, since the `fit-content` range is a single point equal to aspect-ratio x height (which may well even be outside the range of the minimum/maximum content-based sizes, as they are in this case).

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5032#issuecomment-661264796 using your GitHub account
Received on Monday, 20 July 2020 18:40:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC