1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

LibWeb+Base: Use line names for positioning grid items

When there are grid tracks with line names, use these to resolve
line-names passed to positioned grid items.
This commit is contained in:
martinfalisse 2022-10-30 13:49:47 +01:00 committed by Andreas Kling
parent 829f56572d
commit 937fcfc75c
3 changed files with 211 additions and 0 deletions

View file

@ -40,6 +40,8 @@ private:
float get_free_space_x(Box const&);
float get_free_space_y(Box const&);
int get_line_index_by_line_name(String const& line_name, CSS::GridTrackSizeList);
};
class OccupationGrid {