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 π
- Alignment of tracks and final positioning of items
- explicit_
grid π - Helper functions for initialising GridTrackβs from styles This mainly consists of evaluating GridAutoTracks
- implicit_
grid π - 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.
- placement π
- Implements placing items in the grid and resolving the implicit grid. https://www.w3.org/TR/css-grid-1/#placement
- track_
sizing π - 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Β§
- Detailed
Grid Info - Information from the computation of grid
- Detailed
Grid Items Info - Grid area information from the placement algorithm
- Detailed
Grid Tracks Info - Information from the computation of grids tracks
FunctionsΒ§
- compute_
grid_ layout - Grid layout algorithm This consists of a few phases: