Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
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>
Author Pierre Le Fevre Co-author Claude Opus 4.6 (1M context) Date (Mar 22, 2026, 8:00 AM UTC) Commit 5214d7a1 5214d7a1e394f0f4dec27b0dbe64787c84cf64a5 Parent 17203d69 17203d6964e4ca2423afaa35b580d9182e1efe74