- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Tue, 29 Nov 2016 17:29:17 +0000
- To: public-css-archive@w3.org
What you are suggesting is that `stretch` is identical to `normal`, except for the combination `stretch/stretch` which ignores the ratio. That seems _a lot_ less useful to authors, IMHO. As you can see in the testcase: https://people-mozilla.org/~mpalmgren/tests/grid/grid-item-image-grow.html making `stretch` ratio-destroying and `normal` ratio-preserving gives the author _a lot_ more control over the resizing behavior. And since `normal` is the default, specifying `center` or whatever in one axis gives ratio-preserving resizing by default. It's only when the author _explicitly_ specifies `stretch` that the resizing starts to be ratio-destroying. Screenshot of Firefox rendering: https://people-mozilla.org/~mpalmgren/tests/grid/grid-item-image-grow-firefox.png I think you're suggestion is a big mistake and I would like to hear what others think about this before changing our implementation. Web developers in particular. -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/523#issuecomment-263638792 using your GitHub account
Received on Tuesday, 29 November 2016 17:29:24 UTC