mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibWeb: Rename LayoutNode::style() => specified_style()
Let's make way for a slightly-more-cooked style() that will eventually replace the raw specified_style() for layout and paint purposes.
This commit is contained in:
@@ -51,7 +51,7 @@ static RefPtr<LayoutNode> create_layout_tree(Node& node, const StyleProperties*
|
||||
bool have_noninline_children = false;
|
||||
|
||||
to<ParentNode>(node).for_each_child([&](Node& child) {
|
||||
auto layout_child = create_layout_tree(child, &layout_node->style());
|
||||
auto layout_child = create_layout_tree(child, &layout_node->specified_style());
|
||||
if (!layout_child)
|
||||
return;
|
||||
if (layout_child->is_inline())
|
||||
|
||||
Reference in New Issue
Block a user