mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Don't assert on <colgroup> & friends
Let's just construct a placeholder BlockBox layout node for now. Fixes #5081.
This commit is contained in:
parent
796c31a52b
commit
0eac44af49
1 changed files with 2 additions and 1 deletions
|
@ -152,7 +152,8 @@ RefPtr<Layout::Node> Element::create_layout_node()
|
|||
case CSS::Display::TableColumn:
|
||||
case CSS::Display::TableColumnGroup:
|
||||
case CSS::Display::TableCaption:
|
||||
break;
|
||||
// FIXME: This is just an incorrect placeholder until we improve table layout support.
|
||||
return adopt(*new Layout::BlockBox(document(), this, move(style)));
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue