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

LibWeb: Support display inline-table

Add support for inline-table display type with corrresponding changes in
tree builder to generate inline anonymous wrapper around inline table
boxes.
This commit is contained in:
Aliaksandr Kalenik 2023-01-16 13:13:31 +01:00 committed by Andreas Kling
parent 87b18f9304
commit 276a77f02d
5 changed files with 15 additions and 5 deletions

View file

@ -555,6 +555,8 @@ CSS::Display StyleProperties::display() const
return CSS::Display::from_short(CSS::Display::Short::ListItem);
case CSS::ValueID::Table:
return CSS::Display::from_short(CSS::Display::Short::Table);
case CSS::ValueID::InlineTable:
return CSS::Display::from_short(CSS::Display::Short::InlineTable);
case CSS::ValueID::TableRow:
return CSS::Display { CSS::Display::Internal::TableRow };
case CSS::ValueID::TableCell: