- From: Jen Simmons via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Dec 2016 17:03:10 +0000
- To: public-css-archive@w3.org
I like Mats proposal better. The default is normal. I switch to stretch in the dimension where the image does not yet fill the space, and I get the result of breaking aspect ratio and having it stretch. If I want to 'fix' the aspect ratio, I can start telling the browser what I want it to do (likely with `object-fit`). If instead the aspect ratio was maintained, it wouldn't really be clear that the fix (to get the image to stretch to the size of the box) would be to apply stretch in the opposite dimension. That's a level of mastery unexpected. And I can't see being happy with overflow. Maybe I want the image to only stretch in one dimension — and when the grid cells change shape (responsive design), maybe I want the behavior in the other dimension to be different. -- GitHub Notification of comment by jensimmons Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/523#issuecomment-265506149 using your GitHub account
Received on Wednesday, 7 December 2016 17:03:56 UTC