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

LibWeb: Consider span in table column width calculation

Implemention of following parts in CSS Tables 3 spec:
https://www.w3.org/TR/css-tables-3/#min-content-width-of-a-column-based-on-cells-of-span-up-to-n-n--1
https://www.w3.org/TR/css-tables-3/#max-content-width-of-a-column-based-on-cells-of-span-up-to-n-n--1
This commit is contained in:
Aliaksandr Kalenik 2023-01-07 01:19:52 +03:00 committed by Linus Groh
parent 64a242261e
commit a913410730
2 changed files with 66 additions and 4 deletions

View file

@ -58,6 +58,8 @@ private:
size_t column_span;
size_t row_span;
CSSPixels baseline { 0 };
CSSPixels min_width { 0 };
CSSPixels max_width { 0 };
};
Vector<Cell> m_cells;