mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibWeb: Call the correct base class in InlineNode::split_into_lines()
This commit is contained in:
parent
2cbbab8f73
commit
e0809f78a9
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ void InlineNode::split_into_lines(BlockBox& containing_block, LayoutMode layout_
|
|||
containing_block.ensure_last_line_box().add_fragment(*this, 0, 0, padding_left, 0, LineBoxFragment::Type::Leading);
|
||||
}
|
||||
|
||||
Node::split_into_lines(containing_block, layout_mode);
|
||||
NodeWithStyleAndBoxModelMetrics::split_into_lines(containing_block, layout_mode);
|
||||
|
||||
if (!style().padding().right.is_undefined_or_auto()) {
|
||||
float padding_right = style().padding().right.resolved(CSS::Length::make_px(0), *this, containing_block.width()).to_px(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue