- From: Mats Palmgren <mats@mozilla.com>
- Date: Thu, 3 Dec 2015 00:39:36 +0100
- To: www-style@w3.org
- Cc: Daniel Holbert <dholbert@mozilla.com>
https://drafts.csswg.org/css-grid/#valdef-repeat-auto-fill I have a few additional questions on auto-fill/fit: 4. How should a zero track size in the repeat() be handled? <div style="display: grid; grid-template: repeat(auto-fill,0) / 10px; width: 100px;"> Clearly it's not possible to fill 100px with zero-sized tracks... 5. ... except if you also have a non-zero 'grid-gap', so with grid-gap:20px you can fill the above grid with 6 tracks, resulting in 5 adjacent grid gaps. How should these two cases be handled? 6. In general, "positive integer" means one or more. But it seems undesirable to generate a track if it causes overflow so I'm really not sure what you mean by that term here. Please clarify if 'auto-fill' can result in zero tracks or if it always generates at least one track when the size is definite. 7. When the size is indefinite, and the min size is definite but zero, how many tracks should be generated? for example: <div style="display: grid; grid-template: repeat(auto-fill,10px) / 10px; min-width: 0;"> Thanks, Mats
Received on Wednesday, 2 December 2015 23:40:08 UTC