W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-flexbox] Why does flex item aspect ratio sizing not take max-width into account? (#3736)

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Apr 2019 21:00:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-484688102-1555621219-sysbot+gh@w3.org>
But that's not what I'm concerned about (and anyway, why would we fall down to that?)

If we have a replaced item, for the min-size calculation, we do:
main size = min(cross size, min-cross size) * aspect ratio

For the flex base size, we do:
main size = cross size * aspect ratio

Shouldn't that be consistent?

-- 
GitHub Notification of comment by cbiesinger
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3736#issuecomment-484688102 using your GitHub account
Received on Thursday, 18 April 2019 21:00:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC