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
commit 276a77f02d
Notes: sideshowbarker 2024-07-17 04:01:41 +09:00
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: