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

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

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Jun 2020 22:38:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-649109809-1593038324-sysbot+gh@w3.org>
And another question: Should min-content be affected by the aspect-ratio even if there is an explicit size in that axis? E.g.:

```html
<div style="width: 100px; height: 100px; aspect-ratio: 1/1; min-width: min-content;">
  <div style="width: 200px;"></div>
</div>
```

Should the width be 100px (from the aspect-ratio), or 200px (from the contents)?

-- 
GitHub Notification of comment by cbiesinger
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5032#issuecomment-649109809 using your GitHub account
Received on Wednesday, 24 June 2020 22:38:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC