mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
LibWeb: Fix min-content initialization for row measures
This ensures that min-content contributions from cells with no content are computed using their calculated values, which are never considered for min-content before then. The specification diverges from column measures algorithm, which doesn't use specified width of cells anywhere.
This commit is contained in:
parent
5aef8f280f
commit
8afe5ce718
4 changed files with 82 additions and 7 deletions
|
@ -38,6 +38,8 @@ private:
|
|||
void calculate_row_column_grid(Box const&);
|
||||
void compute_cell_measures(AvailableSpace const& available_space);
|
||||
template<class RowOrColumn>
|
||||
void initialize_table_measures();
|
||||
template<class RowOrColumn>
|
||||
void compute_table_measures();
|
||||
void compute_table_width();
|
||||
void distribute_width_to_columns();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue