Two grid placement bugs: 1. Items with explicit column but auto row (e.g. `grid-column: 2`) were hardcoded to row 0 by merge_placements, causing overlap with earlier rows. Now only fully-specified placements skip auto-placement, and Phase 2 respects explicit column/row constraints. 2. Negative grid line numbers were off-by-one. CSS Grid has N+1 lines for N tracks, so line -1 should resolve to index N (after the last track), not N-1. This caused `grid-column: 1 / -1` to span N-1 columns instead of all N, producing asymmetric gutters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
549 B
Plaintext
10 lines
549 B
Plaintext
DisplayList items=8
|
|
SolidRect rect=(0, 0, 300, 40) color=#eeeeee
|
|
Text rect=(0, 0, 40.622612, 16) text="Header" color=#000000 font_size=16
|
|
SolidRect rect=(50, 40, 200, 30) color=#cccccc
|
|
Text rect=(50, 40, 44.15859, 16) text="Content" color=#000000 font_size=16
|
|
Text rect=(97.21291, 40, 7.506608, 16) text="A" color=#000000 font_size=16
|
|
SolidRect rect=(50, 70, 200, 30) color=#cccccc
|
|
Text rect=(50, 70, 44.15859, 16) text="Content" color=#000000 font_size=16
|
|
Text rect=(97.21291, 70, 7.6358294, 16) text="B" color=#000000 font_size=16
|