[css-grid] Generalize the allowed cap on repetitions to a an allowed limit on grid size.