Three bugs prevented images wrapped in inline elements from displaying: 1. Layout: pre_layout_inline_block_descendants now recurses through Inline wrappers to find and pre-layout nested InlineBlock children, so their dimensions are known before IFC flattening. 2. Display list: render_non_inline_descendants traverses through Inline wrappers to find and render InlineBlock/Block descendants without re-rendering backgrounds/borders already handled by IFC fragments. 3. Table sizing: measure_child_width and measure_child_min_content_width now check specified_width and intrinsic_width so images contribute their dimensions to column width calculations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
1006 B
Plaintext
31 lines
1006 B
Plaintext
LayoutBox node=#1 tag=html box=block
|
|
content: (0, 0, 800, 101.442)
|
|
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, 85.442)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#5 tag=p box=block
|
|
content: (8, 24, 784, 53.442)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 16 0 16 0
|
|
inline_context: 1 lines, height=53.442, max_width=100
|
|
line[0]: rect=(8, 24, 100, 53.441998) fragments=1
|
|
frag[0]: rect=(8, 24, 100, 50) text=(none) start=false end=false
|
|
LayoutBox node=#6 tag=font box=inline
|
|
content: (0, 0, 0, 0)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#7 tag=img box=inline-block
|
|
content: (8, 24, 100, 50)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
image: img#0 (intrinsic: 100x50)
|
|
inline_context: 0 lines, height=0, max_width=0
|