diff --git a/Libraries/LibWeb/CSS/Identifiers.json b/Libraries/LibWeb/CSS/Identifiers.json index cac40af8fd..5e412147fe 100644 --- a/Libraries/LibWeb/CSS/Identifiers.json +++ b/Libraries/LibWeb/CSS/Identifiers.json @@ -104,7 +104,10 @@ "static", "sticky", "table", + "table-caption", "table-cell", + "table-column", + "table-column-group", "table-footer-group", "table-header-group", "table-row", diff --git a/Libraries/LibWeb/CSS/StyleProperties.cpp b/Libraries/LibWeb/CSS/StyleProperties.cpp index 1e3b18982d..76b2834771 100644 --- a/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -398,6 +398,12 @@ CSS::Display StyleProperties::display() const return CSS::Display::TableRow; case CSS::ValueID::TableCell: return CSS::Display::TableCell; + case CSS::ValueID::TableColumn: + return CSS::Display::TableColumn; + case CSS::ValueID::TableColumnGroup: + return CSS::Display::TableColumnGroup; + case CSS::ValueID::TableCaption: + return CSS::Display::TableCaption; case CSS::ValueID::TableRowGroup: return CSS::Display::TableRowGroup; case CSS::ValueID::TableHeaderGroup: diff --git a/Libraries/LibWeb/CSS/StyleValue.h b/Libraries/LibWeb/CSS/StyleValue.h index 7b3ee54f6c..4b3d1d3ecc 100644 --- a/Libraries/LibWeb/CSS/StyleValue.h +++ b/Libraries/LibWeb/CSS/StyleValue.h @@ -87,6 +87,9 @@ enum class Display { TableHeaderGroup, TableRowGroup, TableFooterGroup, + TableColumn, + TableColumnGroup, + TableCaption, }; enum class WhiteSpace {