summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-01-16 13:13:31 +0100
committerAndreas Kling <kling@serenityos.org>2023-01-17 10:18:33 +0100
commit276a77f02dc5302fd496da034a6860b8753c7b4b (patch)
tree0a9da0de99d2c67333bf33a05662e49c6497647f /Userland/Libraries/LibWeb/CSS
parent87b18f9304370149f3c3b1c12cd851f69d81e0d4 (diff)
downloadserenity-276a77f02dc5302fd496da034a6860b8753c7b4b.zip
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleProperties.cpp2
1 files changed, 2 insertions, 0 deletions
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: