mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibWeb: Support auto-fill for rows in GFC
This change fixes the function that calculates the number of auto-fill tracks, ensuring it uses height when applied to rows, instead of assuming that it always operates on columns.
This commit is contained in:
parent
75fc51bb67
commit
903d3c92c8
4 changed files with 62 additions and 9 deletions
|
@ -244,7 +244,7 @@ private:
|
|||
|
||||
Optional<int> get_line_index_by_line_name(GridDimension dimension, String const&);
|
||||
CSSPixels resolve_definite_track_size(CSS::GridSize const&, AvailableSpace const&);
|
||||
int count_of_repeated_auto_fill_or_fit_tracks(Vector<CSS::ExplicitGridTrack> const& track_list);
|
||||
int count_of_repeated_auto_fill_or_fit_tracks(GridDimension);
|
||||
|
||||
void build_grid_areas();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue