- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Sep 2016 17:05:10 +0000
- To: public-css-archive@w3.org
This is the best `object-fit` rule I can come up with that somewhat
solves
the problem:
```
img {
object-fit: contain;
box-sizing: border-box;
justify-self: start;
align-self: start;
min-width: 0px;
min-height: 0px;
max-width: 100%;
max-height: 100%;
}
```
@fantasai is that what you're suggesting authors should use?
(If not, please post the exact rule you're thinking of so that I can
have
a reasonable opportunity to critique it. Thanks)
--
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/523#issuecomment-248965212
using your GitHub account
Received on Thursday, 22 September 2016 17:05:21 UTC