Add <base href> support with resolve_base_url() wired before all resource loading, document.baseURI JS API (falling back to "about:blank" per spec), image format verification golden tests (PNG/JPEG/GIF/WebP/SVG for both <img> and CSS background-image), and aspect ratio preservation tests. Code review fixes: baseURI spec compliance, restyle path no longer overwrites <base href> URL, added CSS background-image format tests and base URL integration tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
438 B
Plaintext
17 lines
438 B
Plaintext
LayoutBox node=#1 tag=html box=block
|
|
content: (0, 0, 800, 36)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#3 tag=body box=block
|
|
content: (8, 8, 784, 20)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#5 tag=div box=block
|
|
content: (8, 8, 40, 20)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 0 lines, height=0, max_width=0
|