Files
rust_browser/tests/goldens/expected/248-background-canvas.dl.txt
Zachary D. Rowitsch be2c5c9d05 Implement background-image URL resolution and verify all background sub-properties (CSS 2.1 §14.2)
Wire background-image url() to ImageId via ImageStore lookup during layout,
add canvas background URL resolution for root/body propagation, and verify
all background sub-properties end-to-end with 8 golden tests (241-248).
Includes code review fixes: deduplicate ImageStore.insert_url, extract
apply_styles_to_canvas helper, remove redundant Phase 2 canvas propagation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 00:03:35 -04:00

6 lines
304 B
Plaintext

DisplayList items=4
SolidRect rect=(0, 0, 800, 600) color=#cccccc
BackgroundImage rect=(0, 0, 800, 600) image_id=img#0 pos=(Percentage(50.0),Percentage(50.0)) repeat=NoRepeat
SolidRect rect=(8, 8, 100, 100) color=#ffffff
Text rect=(8, 9.6, 44.15859, 16) text="Content" color=#000000 font_size=16