Files
rust_browser/tests/goldens/expected/148-grid-span.dl.txt
Zachary D. Rowitsch 19aaa6a999 Fix grid-column: span N items not rendering by fixing auto-placement
Items with only a span (e.g. `grid-column: span 2`) were neither
explicitly placed nor auto-placed: Phase 1 couldn't resolve a position
(Span alone has no line number), and Phase 2 skipped them because
`Span(N) != Auto` made them look "already placed." Track actual
placement with a `placed` vector and respect span sizes during
auto-placement.

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

11 lines
577 B
Plaintext

DisplayList items=9
SolidRect rect=(8, 8, 210, 40) color=#bbbbbb
Text rect=(8, 8, 33.15125, 16) text="Spans" color=#000000 font_size=16
Text rect=(44.20558, 8, 6.71953, 16) text="2" color=#000000 font_size=16
SolidRect rect=(228, 8, 100, 40) color=#eeeeee
Text rect=(228, 8, 7.6358294, 16) text="B" color=#000000 font_size=16
SolidRect rect=(8, 58, 100, 40) color=#eeeeee
Text rect=(8, 58, 7.424376, 16) text="C" color=#000000 font_size=16
SolidRect rect=(118, 58, 100, 40) color=#eeeeee
Text rect=(118, 58, 8.5756235, 16) text="D" color=#000000 font_size=16