diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp b/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp index 9b3d88bc7d..21a897269b 100644 --- a/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp +++ b/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp @@ -69,7 +69,7 @@ static Layout::Node& insertion_parent_for_inline_node(Layout::NodeWithStyle& lay if (layout_parent.display().is_inline_outside() && layout_parent.display().is_flow_inside()) return layout_parent; - if (layout_parent.display().is_flex_inside()) { + if (layout_parent.display().is_flex_inside() || layout_parent.display().is_grid_inside()) { layout_parent.append_child(layout_parent.create_anonymous_wrapper()); return *layout_parent.last_child(); } |