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

[csswg-drafts] [css-sizing] Import aspect-ratio from child image (#5269)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Jun 2020 23:26:16 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-647733758-1593473174-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing] Import aspect-ratio from child image ==
A very common patter is to wrap images in a link tag (or some other tag). If the wrapper is going to behave properly for layout purposes (such as being a flex or grid item) then it will want to have the size and aspect ratio of the image. So we might want some way of pulling up a descendant element’s aspect-ratio into such a wrapper element.

(Tagging against Sizing 4, but might defer to later.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5269 using your GitHub account
Received on Monday, 29 June 2020 23:26:17 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:12 UTC