Vixen
dd8b0a81
csharp
public enum GridAutoRepeat

Whether a repeat() repeats a stated number of times, or as many as will fit.

Read the guide page for this →

Remarks

⚠ The difference between the two automatic ones is collapsing, not counting. CSS Grid §7.2.3.2: auto-fill and auto-fit generate exactly the same number of repetitions, and then auto-fit collapses every generated track that ended up with no item in it — a collapsed track is treated as having a single zero line, so the gutters on either side of it collapse into one too. A grid whose items fill every track cannot tell them apart, which is why an auto-fit bug hides until the last row is short.

Fields and properties (3)

  • None

    No automatic repetition in this track list.

  • AutoFill

    As many repetitions as fit, all of them kept.

  • AutoFit

    As many repetitions as fit, with the empty ones collapsed.

Used by (8)

  • GridAutoRepeatSpanVixen.Ui.Layout
  • GridTemplateVixen.Ui.Layout
  • GridTrackListVixen.Ui.Layout
  • LayoutTreeVixen.Ui.Layout
  • TaffyStyleMapVixen.Ui.Layout.Tests
  • TaffyTrackListParserVixen.Ui.Layout.Tests
  • TaffyTrackListParserTestsVixen.Ui.Layout.Tests
  • TrackListPropertyVixen.Ui