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: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Sun, 15 Nov 2020 16:26:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-727596971-1605457612-sysbot+gh@w3.org>
Well, the term "intrinsic size" has been used with different meanings ^_^ (#4961). Here it links to [CSS Images](https://drafts.csswg.org/css-images-3/#intrinsic-dimensions), which seems to refer to what from now on should be called "natural size". And your `<div>` doesn't have a natural size (it's not replaced). Or, even if actually refers to the intrinsic size, https://drafts.csswg.org/css-sizing-4/#aspect-ratio-automatic says

> When a box has a preferred aspect ratio, its automatic sizes are calculated the same as for a replaced element with an intrinsic aspect ratio and **no intrinsic dimension** in that axis

So the "use the stretch fit into that size for the inline size and calculate the block size using the aspect ratio" should apply, like SVGs.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 15 November 2020 16:26:55 UTC

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