LibWeb: Support CSS floats in inline flow

CSS floats are now emitted by the InlineLevelIterator. When this
happens, IFC coordinates with the parent BFC to float the box to the
side, using the current LineBuilder state for vertical placement.

This makes the "instructions" text on Acid3 render as a single
contiguous flow of inline content.
This commit is contained in:
Andreas Kling 2022-03-22 19:18:05 +01:00
commit de6f7f0029
Notes: sideshowbarker 2024-07-17 16:53:32 +09:00
7 changed files with 57 additions and 9 deletions

View file

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