LibWeb: Make InlineLevelIterator emit absolutely positioned items

Note that we don't put absolutely positioned items on a line! This is
just so that IFC can discover boxes and pass them along to BFC.

This fixes an issue where only direct children of the IFC containing
block were considered for absolute positioning. Now we pick up
absolutely positioned children of nested inline nodes as well.
This commit is contained in:
Andreas Kling 2022-03-07 22:27:09 +01:00
commit 2dfb617c5b
Notes: sideshowbarker 2024-07-17 17:48:58 +09:00
3 changed files with 11 additions and 9 deletions

View file

@ -26,6 +26,7 @@ public:
Text,
Element,
ForcedBreak,
AbsolutelyPositionedElement,
};
Type type {};
Layout::Node const* node { nullptr };