Expand description
This module is a partial implementation of the CSS Grid Level 1 specification https://www.w3.org/TR/css-grid-1
Modules§
- Alignment of tracks and final positioning of items
- Helper functions for initialising GridTrack’s from styles This mainly consists of evaluating GridAutoTracks
- This module is not required for spec compliance, but is used as a performance optimisation to reduce the number of allocations required when creating a grid.
- Implements placing items in the grid and resolving the implicit grid. https://www.w3.org/TR/css-grid-1/#placement
- Implements the track sizing algorithm https://www.w3.org/TR/css-grid-1/#layout-algorithm
- types 🔒Structs and enums that are used within the grid module
- util 🔒Utility functions used within the grid module
Structs§
- Information from the computation of grid
- Grid area information from the placement algorithm
- Information from the computation of grids tracks
Functions§
- Grid layout algorithm This consists of a few phases: