1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibWeb: Implement minmax()

On the basis of the values passed to the minmax functions, do different
actions given different min and max grid track sizes.
This commit is contained in:
martinfalisse 2022-10-15 13:24:09 +02:00 committed by Andreas Kling
parent 53f3df78e5
commit bd9ec60305
2 changed files with 78 additions and 9 deletions

View file

@ -31,6 +31,8 @@ private:
CSS::GridTrackSize max_track_sizing_function;
float base_size { 0 };
float growth_limit { 0 };
float space_to_distribute { 0 };
float planned_increase { 0 };
};
Vector<GridTrack> m_grid_rows;