W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

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

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Dec 2016 00:40:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-264340229-1480639199-sysbot+gh@w3.org>
> The resolution was based on a discussion of the value specified in 
both dimensions.

Fair enough, do you mind bringing it up again in a CSSWG meeting to 
discuss whether all values involving `stretch` and `normal` should be 
ratio-preserving, with the exception of `place-self: stretch  
stretch`? Or if we should give the author the option to control the 
resizing behavior: `stretch` for ratio-destroying, `normal` for 
ratio-preserving? I'd like to know what the groups' thoughts are 
explicitly for these cases. (and if the former, what alternatives you 
recommend to authors). Thanks.

Fwiw, note that Firefox has always implemented ratio-destroying 
resizing for `stretch` (even when only specified in one axis) and so 
does Chrome. I assumed the CSSWG were aware of that in the last  
discussion. So I raised this issue in that context with the assumption
 that it should _stay_ ratio-destroying, i.e. "let's make `normal` 
ratio-preserving, and `stretch` _stay_ ratio-destroying".

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/523#issuecomment-264340229 
using your GitHub account
Received on Friday, 2 December 2016 00:40:09 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:26 UTC