Expand description
W3C CSS Grid Layout Level 2 Solver.
Constants§
- MAX_
GRID_ TRACKS - Maximum allowable tracks in either dimension per CSS Grid Level 1 specifications (prevents unbounded memory allocation DoS on pathological or adversarial CSS).
Functions§
- solve_
grid - Solves W3C CSS Grid Layout Level 2 for a container and its items.
- solve_
grid_ guarded - Solves W3C CSS Grid Layout Level 2 with an active depth guard to prevent stack overflow.
- solve_
grid_ with_ subgrid_ guarded - Solves W3C CSS Grid Layout Level 2 with subgrid track inheritance and active depth guard.