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>
23 lines
454 B
HTML
23 lines
454 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-bottom: 4px;
|
|
background-image: url(images/test_4x4.png);
|
|
}
|
|
.repeat { background-repeat: repeat; }
|
|
.repeat-x { background-repeat: repeat-x; }
|
|
.repeat-y { background-repeat: repeat-y; }
|
|
.no-repeat { background-repeat: no-repeat; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="repeat"></div>
|
|
<div class="repeat-x"></div>
|
|
<div class="repeat-y"></div>
|
|
<div class="no-repeat"></div>
|
|
</body>
|
|
</html>
|