- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Fri, 08 May 2026 06:47:32 +0000
- To: public-css-archive@w3.org
> > Can't we use the grid repeat() function? Doesn't it already do the same expand+substitution thing we intend? > > No, it's specialized to grid purposes, with a specialized syntax and functionality that doesn't make sense for a generic repeater (the auto-fit/auto-fill keywords). Similarly, the Gap Deco version has its own specialized syntax/functionality. > > > I wonder if a useful extension to this would be to have an index keyword or some such that resolves to the current iteration index. > > Hmm, do you have an example of where that would be useful? (It would be something we could add later, of course.) Thinking of shapes where the curves keep growing and some such It's ok to add later but I also don't think of it as ultra complex. ’repeat(3, hline by 3px, vline by calc(3px * index)’ or some such but it can have all kinds of syntax options. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13862#issuecomment-4404169078 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 8 May 2026 06:47:33 UTC