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>
23 lines
554 B
HTML
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>
|