mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
Instead of using child boxes to compute scrollable overflow for the box, we use descendants which have the box as their containing block.
20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x0 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 102x55 positioned [BFC] children: not-inline
|
|
BlockContainer <div#container> at (11,11) content-size 100x53 children: not-inline
|
|
BlockContainer <div#child> at (72,12) content-size 50x51 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [72,12 28.40625x17] baseline: 13.296875
|
|
"well"
|
|
frag 1 from TextNode start: 5, length: 5, rect: [72,29 36.84375x17] baseline: 13.296875
|
|
"hello"
|
|
frag 2 from TextNode start: 11, length: 7, rect: [72,46 55.359375x17] baseline: 13.296875
|
|
"friends"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x2]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 104x57] overflow: [10,10 173x55]
|
|
PaintableWithLines (BlockContainer<DIV>#container) [10,10 102x55] overflow: [11,11 172x53]
|
|
PaintableWithLines (BlockContainer<DIV>#child) [11,11 172x53]
|
|
TextPaintable (TextNode<#text>)
|