mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Inline layout nodes cannot have block children (except inline-block, of course.) When encountering a block box child of an inline, we now hoist the block up to the inline's containing block, and also wrap any preceding inline siblings in an anonymous wrapper block. This improves the ACID2 situation quite a bit (although we still need floats to really bring it home.) I also took this opportunity to move all tree building logic into Layout::TreeBuilder, to continue the theme of absolving our LayoutNode objects of responsibilities. :^)
9.4 KiB
9.4 KiB