mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Handle float clearing specified on line break elements
This commit is contained in:
parent
0652cc48c0
commit
b12820c967
6 changed files with 60 additions and 9 deletions
|
@ -187,9 +187,11 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next(CSSPixels availabl
|
|||
}
|
||||
|
||||
if (is<Layout::BreakNode>(*m_current_node)) {
|
||||
auto& node = *m_current_node;
|
||||
skip_to_next();
|
||||
return Item {
|
||||
.type = Item::Type::ForcedBreak,
|
||||
.node = &node,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue