we (web engine): Experimental web browser project to understand the limits of Claude

Fix normalize_children to wrap inline content alongside floats master

When a container has only float children and bare inline content (no in-flow block siblings), normalize_children returned early without wrapping the inline content in anonymous blocks. This caused the text to be silently dropped during layout_block_children since compute_layout is a no-op for TextRun/Inline boxes. Include floated children in the has_block check so that inline content gets properly wrapped in anonymous blocks and laid out through the inline formatting context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+44 -2
1 changed file