Files
rust_browser/tests/goldens/expected/287-img-webp-format.layout.txt
Zachary D. Rowitsch 70ad1244d8 Implement base URL resolution and image rendering completeness with code review fixes (§4.2.3)
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>
2026-03-15 01:36:35 -04:00

33 lines
1022 B
Plaintext

LayoutBox node=#1 tag=html box=block
content: (0, 0, 800, 35.2)
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, 19.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 8 8 8 8
inline_context: 1 lines, height=19.2, max_width=23.054333
line[0]: rect=(8, 8, 23.054333, 19.2) fragments=1
frag[0]: rect=(8, 12.158003, 20, 10) text=(none) start=false end=false
LayoutBox node=#4 tag=anonymous box=anon
content: (0, 0, 3.0543318, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: " "
LayoutBox node=#5 tag=img box=inline-block
content: (8, 12.158003, 20, 10)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
image: img#0 (intrinsic: 20x10)
inline_context: 0 lines, height=0, max_width=0
LayoutBox node=#6 tag=anonymous box=anon
content: (0, 0, 3.0543318, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: " "