mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibWeb: Use LayoutTableRowGroup for display:table-{header,footer}-group
This commit is contained in:
parent
6b3a7b1ce7
commit
244fe1089c
3 changed files with 7 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue