[csswg-drafts] [css-grid] Confusing definition of auto repeat tracks computation

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

== [css-grid] Confusing definition of auto repeat tracks computation 
==
Section 7.2.2.2 https://drafts.csswg.org/css-grid/#auto-repeat 
specifies how to compute the number of auto-repeat tracks depending on
 some factors. It turns out that it is subject to different 
interpretations.

Let's translate it first to pseudocode (I'm skipping some things like 
using 1 if any repetion overflows for the sake of simplicity)

if (size or max-size are specified)
   use size or max-size
else 
  if min-size is definite
    use min-size

At least is what we have understood in Chromium and WebKit when we 
implemented it. This means that we always use size or max-size if any 
of them are definite, and *only* the min-size if both of them are 
indefinite.

However it seems that FF is doing it differently according to Mats' 
comment here 
https://bugs.chromium.org/p/chromium/issues/detail?id=648814#c2. He 
considers that min-size should be always considered in the computation
 if it's definite. Which interpretation is correct?

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

Received on Thursday, 13 October 2016 15:07:41 UTC