summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibWeb/Layout/InlineLevelIterator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.cpp b/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.cpp
index 4d7fd10053..13c14f75ff 100644
--- a/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.cpp
+++ b/Userland/Libraries/LibWeb/Layout/InlineLevelIterator.cpp
@@ -137,6 +137,11 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next(float available_wi
return item;
}
+ if (m_current_node->is_positioned()) {
+ skip_to_next();
+ return next(available_width);
+ }
+
if (is<Layout::BreakNode>(*m_current_node)) {
skip_to_next();
return Item {