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

[csswg-drafts] [css-grid] Resolving 'fr' flexible lengths during intrinsic sizing of drid tracks

From: Rossen Atanassov via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Mar 2017 01:28:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-216259670-1490232499-sysbot+gh@w3.org>
atanassov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Resolving 'fr' flexible lengths during intrinsic sizing of drid tracks ==
In [section 7.2.3 of Grid](https://drafts.csswg.org/css-grid/#fr-unit) we specify that resolving 'fr' units with summed value of less than 1, during intrinsic sizing, should match Flexbox. Looking at the current implementations in Chrome and Firefox the behavior doesn't seem to match that expectation.

Consider this [test case](https://jsfiddle.net/5ons8ekx/1). The expectation is that when the sum of all fractions is less than one we have the special case. The implementations behavior is inconsistent and it appears to be triggered when at least one 'fr' value is less than 1.

If these are implementation bugs I can follow up with filing them but I'd like to make sure the spec is clear and if not we should be more explicit.

Here's a reference of the [correct behavior in flexbox here](http://jsbin.com/segupirige/1/edit?html,css,output).


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1120 using your GitHub account
Received on Thursday, 23 March 2017 01:28:27 UTC

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