Vixen
dd8b0a81
csharp
public enum GridAutoFlow

Which axis auto-placement fills, and how hard it tries, per CSS Grid §8.5.

Read the guide page for this →

Remarks

⚠ dense is not a tie-breaker, it is a different algorithm. The sparse cursor never moves backwards, so a wide item that does not fit leaves a hole nothing later can use; the dense cursor restarts from the first line for every item, which fills those holes and — as §8.5 says in as many words — may reorder items visually relative to document order. That makes it a distinct member rather than a flag on the other two, because a reader who treats it as cosmetic will not expect the reordering.

Fields and properties (4)

  • Row

    Fill each row in turn, leaving holes rather than going back.

  • Column

    Fill each column in turn, leaving holes rather than going back.

  • RowDense

    Fill each row in turn, going back to fill earlier holes.

  • ColumnDense

    Fill each column in turn, going back to fill earlier holes.

Used by (6)

  • KeywordsVixen.Ui
  • LayoutStyleVixen.Ui.Layout
  • LayoutStyleBuilderVixen.Ui
  • LayoutTreeVixen.Ui.Layout
  • SafeAlignmentFromCssTestsVixen.Ui.Tests
  • TaffyStyleMapVixen.Ui.Layout.Tests