Files
rust_browser/tests/goldens/fixtures/150-flex-nav-in-grid.html
Zachary D. Rowitsch aee717819e Fix flex layout: Y positioning, text rendering, and CSS min()/max() in grid
Three bugs fixed:

1. Flex containers never had their Y coordinate set, causing them to
   render at Y=0 regardless of document position.

2. Flex item text was invisible because layout_children bypassed inline
   formatting context (IFC) setup. Replaced with layout_block_children
   (same approach as grid items) so text gets proper line boxes.

3. Flex item intrinsic sizing only checked grandchildren for text, missing
   deeper descendants like <li><a>Text</a></li>. Now recurses the full
   subtree.

Additionally, added CSS min()/max() function support and Percent variant
in grid template parsing (e.g., grid-template-columns: 1fr min(45rem, 90%) 1fr).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 19:50:49 -05:00

558 B