Files
rust_browser/tests/goldens/expected/145-grid-fr-units.layout.txt
Zachary D. Rowitsch cca165fff1 Fix grid items not rendering text by using layout_block_children for IFC setup
Grid items (Block boxes) need to establish their own inline formatting context
to create line boxes for text content. Previously, layout_grid_item_children
dispatched calculate_block_layout on each child individually, but anonymous
text nodes have no children of their own, so their IFC was always empty.
The fix calls layout_block_children on the grid item itself, which properly
flattens text children into line boxes. Also adds grid test coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 18:29:21 -05:00

2.0 KiB