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

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