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

Re: [csswg-drafts] [css-grid] Note implies losing an aspect-ratio when it shouldn't? (#5713)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Nov 2020 21:23:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-725669064-1605129829-sysbot+gh@w3.org>
The only concern I have is for the following case:
```html
<div style="display: block; width: 200px; border: solid;">
  <div style="height: 100px; aspect-ratio: 1/1;"></div>
</div>

<div style="display: grid; width: 200px; border: solid;">
  <div style="height: 100px; aspect-ratio: 1/1;"></div>
</div>
```

Conceptually these cases are the same, both make 'auto'  "stretch" in the inline-axis, and definite height in the block-axis, and an aspect-ratio.
 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 November 2020 21:23:53 UTC

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