Files
rust_browser/tests/goldens/fixtures/208-flex-row-auto-height.html
Zachary D. Rowitsch 077426b4a0 Fix flex row container not expanding to contain auto-height children (F-001)
Line cross sizes were calculated before children layout using placeholder
estimates (20px), but never recalculated after items expanded. Added a
post-layout recalculation pass (Step 9b) that updates stretched_line_cross_sizes
from actual item dimensions before the container height is set in Step 10.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:13:00 -04:00

23 lines
554 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
display: flex;
flex-direction: row;
width: 400px;
background-color: lightgray;
}
.col { width: 200px; }
.tall-a { height: 100px; background-color: coral; }
.tall-b { height: 150px; background-color: lightblue; }
</style>
</head>
<body>
<div class="container">
<div class="col"><div class="tall-a"></div></div>
<div class="col"><div class="tall-b"></div></div>
</div>
</body>
</html>