- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Wed, 09 Jun 2021 17:19:52 +0000
- To: public-css-archive@w3.org
My goal was to remove the aspect-ratio of the image for the purpose of sizing/layout, but still have the natural ratio available when using `object-fit`. It sounds to me like that specific case _should_ work simply with `contain:size`, and could be filed as an implementation bug? Once that's fixed, the syntax is straight forward: ```css img { contain: size; object-fit: cover; } ``` Ian's distinction here makes sense to me. Even though my first instinct was to remove the aspect-ratio of the image, I am actually attempting to remove its size contribution - while keeping the natural aspect ratio intact. As far as I'm concerned, this can be filed as a bug, and closed as no-change. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6257#issuecomment-857884138 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 9 June 2021 17:21:47 UTC