Re: [csswg-drafts] [css-grid] Shortcut syntax for repeat(M, 1fr)

@fantasai what is the issue you see with introducing a new unit like `efr` to represent `minmax(0,1fr)`? (#2677)

The reason we tend to want easy access to `minmax(0,1fr)` is because we have lots of ways of controlling how we want the content to overflow.

Maybe we want content to scroll. Maybe we want content to break long words and wrap them. What we generally don't want is for the grid to get forced out of it's original container or cause a major change to the signed off design. The `1fr` unit robs us of that choice since it does not allow the content to overflow.

If someone posts a long link in a basic 3 column layout, we don't want the column with the long link to squish the other 2 columns. We want the link text to wrap onto the next line. `1fr` squishes the other 2 columns no matter what we do. `minmax(0,1fr)` will allow the link text to wrap and keeps all 3 columns equal.

-- 
GitHub Notification of comment by Dan503
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2270#issuecomment-390053485 using your GitHub account

Received on Friday, 18 May 2018 00:15:29 UTC