1
Fork 0
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:
Aliaksandr Kalenik 2022-12-04 20:02:28 +03:00 committed by Andreas Kling
parent ba64d0462c
commit fae0b96fe4
2 changed files with 29 additions and 2 deletions

View file

@ -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;