mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-20 10:50:25 +00:00
Inline nodes in our layout tree have a position, so let's show it. By centralizing the logic for this, block nodes now lose their redundant 'content-size' dump info which is already part of the box model dump.
18 lines
1.1 KiB
Text
18 lines
1.1 KiB
Text
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
|
|
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 736 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 720 0+0+8] children: inline
|
|
frag 0 from VideoBox start: 0, length: 0, rect: [8,8 320x240] baseline: 240
|
|
frag 1 from VideoBox start: 0, length: 0, rect: [8,248 640x480] baseline: 480
|
|
VideoBox <video> at [8,8] [0+0+0 320 0+0+0] [0+0+0 240 0+0+0] children: not-inline
|
|
TextNode <#text> (not painted)
|
|
VideoBox <video> at [8,248] [0+0+0 640 0+0+0] [0+0+0 480 0+0+0] children: not-inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x736]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x736]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x720]
|
|
VideoPaintable (VideoBox<VIDEO>) [8,8 320x240]
|
|
VideoPaintable (VideoBox<VIDEO>) [8,248 640x480]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x736] [children: 0] (z-index: auto)
|