[csswg-drafts] [css-grid] What happens with grid line names when dropping tracks

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

== [css-grid] What happens with grid line names when dropping tracks 
==
The specs [mention](https://drafts.csswg.org/css-grid/#auto-repeat) 
that when using auto-fit, tracks with empty repetitions are dropped. 
My question is what happens with the grid line names defined in the 
repeat() function?

As far as I see it we have 2 options
a. we "collapse" them with other potential line names defined outside 
the repeat()
b. we remove them as we do with tracks

IMO (a) is not the right thing to do due to several reasons. First of 
all it seems weird to keep the line names and not the tracks. 
Secondly, we could lead to having only grid line names and no tracks 
in a definition (for example, `grid-template-rows: [a] 
repeat(auto-fit,[b] 10px [c]) [d];` assuming there are no items then 
`grid-template-rows` will become `[a b c d]` without tracks which is 
invalid BTW). And last but not least I really don't see any use case 
for that.

So my proposal is that the spec explicitly mentions (b).

WDYT?

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

Received on Wednesday, 8 June 2016 12:13:14 UTC