W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

Re: [csswg-drafts] [css-grid] Stretching image grid items in both dimensions

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Jan 2017 20:27:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-274928367-1485289647-sysbot+gh@w3.org>
The CSSWG discussed this issue again, and stands by the conclusion in 
https://github.com/w3c/csswg-drafts/issues/523#issuecomment-268095890 
This ensures that the alignment properties do not devolve further into
 sizing controls, and that behavior in grid is consistent with 
behavior in block layout, etc. We will however add a `contain` value 
to the `width` and `height` properties to make sure that the use cases
 for fitting a grid cell are easily handled.

@MatsPalmgren Wrt 
https://github.com/w3c/csswg-drafts/issues/523#issuecomment-271602021 
I listed `object-fit` alongside other things, because in some cases is
 does solve the problem.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/523#issuecomment-274928367 
using your GitHub account
Received on Tuesday, 24 January 2017 20:27:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC