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

LibWeb: Use available space to resolve table cells width

It is not possible to use width of containing block to resolve
cells width because by the time compute_table_measures() is
called row width is not known yet.
This commit is contained in:
Aliaksandr Kalenik 2023-01-05 18:44:04 +03:00 committed by Andreas Kling
parent 90b43712e6
commit 21d89a2153
2 changed files with 5 additions and 1 deletions

View file

@ -28,6 +28,8 @@ private:
CSSPixels m_automatic_content_height { 0 };
Optional<AvailableSpace> m_available_space;
struct Column {
CSSPixels left_offset { 0 };
CSSPixels min_width { 0 };