mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb: Add vertical-align support for table cells
This commit is contained in:
parent
ba64d0462c
commit
fae0b96fe4
2 changed files with 29 additions and 2 deletions
|
@ -38,6 +38,7 @@ private:
|
|||
struct Row {
|
||||
Box& box;
|
||||
float used_width { 0 };
|
||||
float baseline { 0 };
|
||||
};
|
||||
|
||||
struct Cell {
|
||||
|
@ -46,6 +47,7 @@ private:
|
|||
size_t row_index;
|
||||
size_t column_span;
|
||||
size_t raw_span;
|
||||
float baseline { 0 };
|
||||
};
|
||||
|
||||
Vector<Cell> m_cells;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue