[csswg-drafts] [css-grid] Introduce an "equal" version of the `fr` unit.

Dan503 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Introduce an "equal" version of the `fr` unit. ==
In issue https://github.com/w3c/csswg-drafts/issues/1777, It was recognized that authors would really like it if `1fr` actually meant `minmax(0,1fr)` rather than `minmax(min-content,1fr)` which is what it essentially means right now.

It was closed due to it being too hazardous to change the meaning of the `fr` unit at that point in time.

What I am suggesting is that a new unit be introduced that _does_ equal `minmax(0,1fr)`. I'm thinking an `efr` unit (short for "equal fraction").

It's really cumbersome writing out `minmax(0,1fr)` all the time. It would be much nicer if we could write `1efr` instead.

The conversation in issue https://github.com/w3c/csswg-drafts/issues/2270#issuecomment-388321778 also makes note of the need for an easier way to write equal fractions.

Spec link for the `fr` unit:
https://www.w3.org/TR/css-grid-1/#fr-unit

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2677 using your GitHub account

Received on Monday, 14 May 2018 10:53:30 UTC