mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb: Don't skip position:relative elements in inline-level layout
InlineLevelIterator was wrongly skipping over all positioned elements, instead of just the absolutely positioned ones.
This commit is contained in:
parent
973f3c3642
commit
65b38f2623
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next(float available_wi
|
|||
return item;
|
||||
}
|
||||
|
||||
if (m_current_node->is_positioned()) {
|
||||
if (m_current_node->is_absolutely_positioned()) {
|
||||
skip_to_next();
|
||||
return next(available_width);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue