mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibWeb: Remove old Layout::Node::split_into_lines() API
Now that we build lines incrementally, we no longer need the atomic line splitting API. The new InlineLevelIterator and LineBuilder setup does have some regressions from the old behavior, but we can deal with them as we go.
This commit is contained in:
parent
ba49dc82e0
commit
766d816db3
12 changed files with 0 additions and 167 deletions
|
@ -115,13 +115,6 @@ InitialContainingBlock& Node::root()
|
|||
return *document().layout_node();
|
||||
}
|
||||
|
||||
void Node::split_into_lines(InlineFormattingContext& context, LayoutMode layout_mode)
|
||||
{
|
||||
for_each_child([&](auto& child) {
|
||||
child.split_into_lines(context, layout_mode);
|
||||
});
|
||||
}
|
||||
|
||||
void Node::set_needs_display()
|
||||
{
|
||||
if (auto* block = containing_block()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue