Since `object-fit` doesn't seem to work well with `contain: size`, another approach can be: ```css width: 0; height: 0; min-width: 100%; min-width: 100%; ``` This should avoid natural sizes, 300x150 default intrinsic size, etc. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6257#issuecomment-848941703 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-configReceived on Wednesday, 26 May 2021 16:50:39 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC