mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibWeb: Add GridFormattingContext
This commit is contained in:
parent
e4541d83d3
commit
e4c5799026
5 changed files with 61 additions and 2 deletions
|
@ -287,7 +287,7 @@ RefPtr<Layout::Node> Element::create_layout_node_for_display_type(DOM::Document&
|
|||
return adopt_ref(*new Layout::InlineNode(document, element, move(style)));
|
||||
}
|
||||
|
||||
if (display.is_flow_inside() || display.is_flow_root_inside() || display.is_flex_inside())
|
||||
if (display.is_flow_inside() || display.is_flow_root_inside() || display.is_flex_inside() || display.is_grid_inside())
|
||||
return adopt_ref(*new Layout::BlockContainer(document, element, move(style)));
|
||||
|
||||
TODO();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue