- 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.3 KiB
Plaintext
42 lines
2.3 KiB
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=#6 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
|
|
LayoutBox node=#7 tag=div box=block
|
|
content: (8, 8, 482.56085, 19.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=482.56085
|
|
line[0]: rect=(8, 8, 482.56085, 19.2) fragments=18
|
|
frag[0]: rect=(8, 9.6, 22.449337, 16) text="This" start=false end=false
|
|
frag[1]: rect=(33.50367, 9.6, 8.657856, 16) text="is" start=false end=false
|
|
frag[2]: rect=(45.21586, 9.6, 6.590308, 16) text="a" start=false end=false
|
|
frag[3]: rect=(54.8605, 9.6, 23.436123, 16) text="very" start=false end=false
|
|
frag[4]: rect=(81.35095, 9.6, 24.622616, 16) text="long" start=false end=false
|
|
frag[5]: rect=(109.0279, 9.6, 19.947138, 16) text="line" start=false end=false
|
|
frag[6]: rect=(132.02937, 9.6, 11.148312, 16) text="of" start=false end=false
|
|
frag[7]: rect=(146.23203, 9.6, 21.321585, 16) text="text" start=false end=false
|
|
frag[8]: rect=(170.60794, 9.6, 22.331863, 16) text="that" start=false end=false
|
|
frag[9]: rect=(195.99414, 9.6, 37.509544, 16) text="should" start=false end=false
|
|
frag[10]: rect=(236.55803, 9.6, 18.60793, 16) text="not" start=false end=false
|
|
frag[11]: rect=(258.22028, 9.6, 27.900146, 16) text="wrap" start=false end=false
|
|
frag[12]: rect=(289.17474, 9.6, 26.478708, 16) text="even" start=false end=false
|
|
frag[13]: rect=(318.70776, 9.6, 40.35242, 16) text="though" start=false end=false
|
|
frag[14]: rect=(362.1145, 9.6, 18.126286, 16) text="the" start=false end=false
|
|
frag[15]: rect=(383.2951, 9.6, 52.604992, 16) text="container" start=false end=false
|
|
frag[16]: rect=(438.9544, 9.6, 8.657856, 16) text="is" start=false end=false
|
|
frag[17]: rect=(450.6666, 9.6, 39.89427, 16) text="narrow" start=false end=false
|
|
LayoutBox node=#8 tag=anonymous box=anon
|
|
content: (0, 0, 482.5609, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "This is a very long ..."
|