diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-05 19:51:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-05 19:51:49 +0200 |
commit | 244fe1089c1fec3b86e8cfe52a179a921373d3a1 (patch) | |
tree | c8167b65836d4b6cd17fdafb5a05fb5d9cdcbcec /Libraries/LibWeb/DOM | |
parent | 6b3a7b1ce72b894cfa847ca675e90b23dd41737f (diff) | |
download | serenity-244fe1089c1fec3b86e8cfe52a179a921373d3a1.zip |
LibWeb: Use LayoutTableRowGroup for display:table-{header,footer}-group
Diffstat (limited to 'Libraries/LibWeb/DOM')
-rw-r--r-- | Libraries/LibWeb/DOM/Element.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/Element.cpp b/Libraries/LibWeb/DOM/Element.cpp index f6439ee87a..dfbd322a97 100644 --- a/Libraries/LibWeb/DOM/Element.cpp +++ b/Libraries/LibWeb/DOM/Element.cpp @@ -131,7 +131,7 @@ RefPtr<LayoutNode> Element::create_layout_node(const StyleProperties* parent_sty return adopt(*new LayoutTableRow(document(), *this, move(style))); if (display == CSS::Display::TableCell) return adopt(*new LayoutTableCell(document(), *this, move(style))); - if (display == CSS::Display::TableRowGroup) + if (display == CSS::Display::TableRowGroup || display == CSS::Display::TableHeaderGroup || display == CSS::Display::TableFooterGroup) return adopt(*new LayoutTableRowGroup(document(), *this, move(style))); if (display == CSS::Display::InlineBlock) { auto inline_block = adopt(*new LayoutBlock(document(), this, move(style))); |