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

Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio apply for width: auto; height: auto;? (#5060)

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 May 2020 18:20:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-630355276-1589826038-sysbot+gh@w3.org>
Ah... thanks for the spec reference.

Anyway, my point with the width/height attribute was that it does not just set the intrinsic width, but it also makes the width specified. So we have a definite used flex basis and won't fall into the aspect ratio case here: https://drafts.csswg.org/css-flexbox/#algo-main-item

Do you want me to file a bug on Gecko to not use 100% here?

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

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