mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:27:34 +00:00
LibWeb: Place grid items in grid-areas if applicable
If valid grid-template-areas were given, then place grid items within these areas. Grid-template-areas take precedence over named line tracks, meaning if there are grid-areas as well as named tracks, should use the grid-areas.
This commit is contained in:
parent
47c77858b6
commit
fa2c3b7c3d
2 changed files with 63 additions and 57 deletions
|
@ -117,6 +117,7 @@ private:
|
|||
int get_count_of_tracks(Vector<CSS::ExplicitGridTrack> const&, AvailableSpace const&, Box const&);
|
||||
|
||||
void build_valid_grid_areas(Box const&);
|
||||
int find_valid_grid_area(String const& needle);
|
||||
|
||||
void place_item_with_row_and_column_position(Box const& box, Box const& child_box);
|
||||
void place_item_with_row_position(Box const& box, Box const& child_box);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue