|
@@ -308,7 +308,8 @@ RefPtr<Layout::Node> Element::create_layout_node_for_display_type(DOM::Document&
|
|
|
return adopt_ref(*new Layout::BlockContainer(document, element, move(style)));
|
|
|
if (display.is_flow_inside())
|
|
|
return adopt_ref(*new Layout::InlineNode(document, element, move(style)));
|
|
|
-
|
|
|
+ if (display.is_flex_inside())
|
|
|
+ return adopt_ref(*new Layout::BlockContainer(document, element, move(style)));
|
|
|
dbgln_if(LIBWEB_CSS_DEBUG, "FIXME: Support display: {}", display.to_string());
|
|
|
return adopt_ref(*new Layout::InlineNode(document, element, move(style)));
|
|
|
}
|