From 276a77f02dc5302fd496da034a6860b8753c7b4b Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Mon, 16 Jan 2023 13:13:31 +0100 Subject: 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. --- Userland/Libraries/LibWeb/CSS/StyleProperties.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Libraries/LibWeb/CSS') diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp index ceda1f492e..0cfcf08547 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -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: -- cgit v1.2.3