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

Re: [csswg-drafts] [css-sizing-4] aspect-ratio min-content size with % width (#5549)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Oct 2020 20:09:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-703861046-1601928540-sysbot+gh@w3.org>
Right now, the behavior in Chrome is what I described above: an element with `aspect-ratio: 1/1; max-width: 100%; max-height: 100%` in a wide parent will break its aspect-ratio, filling the parent entirely rather than remaining square. That's broken; it should remain square.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 October 2020 20:09:02 UTC

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