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:
parent
64a242261e
commit
a913410730
2 changed files with 66 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue