1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibWeb: Don't skip width computation for intrinsic table width

The shortcut we put in place didn't resolve percentage widths and
ignored border spacing. We can still return early after we compute the
width per the specifications.
This commit is contained in:
Andi Gallo 2023-06-20 12:16:09 +00:00 committed by Andreas Kling
parent aafa09e7a5
commit e4d0c077c3
4 changed files with 17 additions and 40 deletions

View file

@ -41,7 +41,6 @@ private:
void compute_table_measures();
void compute_table_width();
void distribute_width_to_columns();
void determine_intrisic_size_of_table_container(AvailableSpace const& available_space);
void compute_table_height(LayoutMode layout_mode);
void distribute_height_to_rows();
void position_row_boxes(CSSPixels&);