taffy::compute::grid

Module placement

source
Expand description

Implements placing items in the grid and resolving the implicit grid. https://www.w3.org/TR/css-grid-1/#placement

Functions§

  • 8.5. Grid Item Placement Algorithm Place a single definitely placed item into the grid
  • 8.5. Grid Item Placement Algorithm Step 2. Place remaining children with definite secondary axis positions
  • 8.5. Grid Item Placement Algorithm Place items into the grid, generating new rows/column into the implicit grid as required
  • 8.5. Grid Item Placement Algorithm Step 4. Position the remaining grid items.
  • Record the grid item in both CellOccupancyMatric and the GridItems list once a definite placement has been determined