mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +00:00

This patch just adds the new root paintable and updates the tests expectations. The next patch will move painting logic from the layout viewport to the paint viewport.
24 lines
1.4 KiB
Text
24 lines
1.4 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x216 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
|
|
BlockContainer <div.parent> at (8,8) content-size 200x200 positioned children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.bad> at (38,18) content-size 150x150 positioned [BFC] children: inline
|
|
line 0 width: 26.546875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 3, rect: [38,18 26.546875x17.46875]
|
|
"Bad"
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <div.good> at (38,18) content-size 150x150 positioned [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x216]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
|
|
PaintableWithLines (BlockContainer<DIV>.parent) [8,8 200x200]
|
|
PaintableWithLines (BlockContainer<DIV>.bad) [38,18 150x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.good) [38,18 150x150]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x0]
|