diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-01-16 13:13:31 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-17 10:18:33 +0100 |
commit | 276a77f02dc5302fd496da034a6860b8753c7b4b (patch) | |
tree | 0a9da0de99d2c67333bf33a05662e49c6497647f /Userland/Libraries/LibWeb/CSS | |
parent | 87b18f9304370149f3c3b1c12cd851f69d81e0d4 (diff) | |
download | serenity-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.cpp | 2 |
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: |