- HTML parser: Add implicit tag closing for table elements (td, th, tr, tbody, thead, tfoot) per HTML5 §12.2.6.4 - CSS background-position: Swap axes when Y-only keyword (top/bottom) appears first or X-only keyword (left/right) appears second - Canvas background: Propagate background image ID from root/body layout box to canvas - Absolute positioning: Defer layout of absolute children until containing block height is finalized, fixing bottom:0 in auto-height containers - Inline line-height: Implement CSS half-leading model (CSS2 §10.8.1) so line box height uses CSS line-height, not font metrics - Anonymous text boxes: Inherit line_height and vertical_align from parent styles - Default vertical_align changed from Top to Baseline per CSS spec WPT: +3 promoted (abspos-containing-block-005, abspos-width-004, background-color-animation-with-table2), -9 demoted Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
2.0 KiB
Plaintext
42 lines
2.0 KiB
Plaintext
LayoutBox node=#1 tag=html box=block
|
|
content: (0, 0, 800, 78.4)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#2 tag=body box=block
|
|
content: (8, 8, 784, 62.4)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#3 tag=div box=block
|
|
content: (8, 8, 80, 62.4)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 3 lines, height=62.4, max_width=67.51836
|
|
line[0]: rect=(8, 8, 67.51836, 20.800001) fragments=4
|
|
frag[0]: rect=(20, 9.6, 28.417034, 16) text="word" start=true end=false
|
|
frag[1]: rect=(48.417034, 9.6, 3.0543318, 19.2) text=(none) start=false end=false
|
|
frag[2]: rect=(51.471367, 9.6, 20.992659, 16) text="one" start=false end=false
|
|
frag[3]: rect=(72.46403, 9.6, 3.0543318, 19.2) text=(none) start=false end=true
|
|
line[1]: rect=(8, 28.800001, 57.107193, 20.800001) fragments=4
|
|
frag[0]: rect=(10, 30.400002, 28.417034, 16) text="word" start=true end=false
|
|
frag[1]: rect=(38.417034, 30.400002, 3.0543318, 19.2) text=(none) start=false end=false
|
|
frag[2]: rect=(41.471367, 30.400002, 20.581497, 16) text="two" start=false end=false
|
|
frag[3]: rect=(62.052864, 30.400002, 3.0543318, 19.2) text=(none) start=false end=true
|
|
line[2]: rect=(8, 49.600002, 65.07489, 20.800001) fragments=3
|
|
frag[0]: rect=(10, 51.200005, 28.417034, 16) text="word" start=true end=false
|
|
frag[1]: rect=(38.417034, 51.200005, 3.0543318, 19.2) text=(none) start=false end=false
|
|
frag[2]: rect=(41.471367, 51.200005, 29.603525, 16) text="three" start=false end=true
|
|
LayoutBox node=#4 tag=span box=inline
|
|
content: (0, 0, 0, 0)
|
|
padding: 0 0 0 0
|
|
border: 2 2 2 2
|
|
margin: 0 0 0 10
|
|
LayoutBox node=#5 tag=anonymous box=anon
|
|
content: (0, 0, 171.70045, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "word one word two wo..."
|