mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:57:35 +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.
46 lines
3.1 KiB
Text
46 lines
3.1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x126 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x108 children: not-inline
|
|
Box <div.flex> at (11,11) content-size 500x52 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,11) content-size 36.84375x52 flex-item [BFC] children: inline
|
|
line 0 width: 36.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 5, rect: [11,11 36.84375x17.46875]
|
|
"hello"
|
|
TextNode <#text>
|
|
Box <div.item.one> at (48.84375,12) content-size 461.15625x50 flex-container(row) flex-item [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (48.84375,12) content-size 55.359375x50 flex-item [BFC] children: inline
|
|
line 0 width: 55.359375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 7, rect: [48.84375,12 55.359375x17.46875]
|
|
"friends"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,64) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.flex> at (11,65) content-size 500x52 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,65) content-size 36.84375x52 flex-item [BFC] children: inline
|
|
line 0 width: 36.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 5, rect: [11,65 36.84375x17.46875]
|
|
"hello"
|
|
TextNode <#text>
|
|
Box <div.item.two> at (48.84375,66) content-size 461.15625x50 flex-container(row) flex-item [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (48.84375,66) content-size 55.359375x50 flex-item [BFC] children: inline
|
|
line 0 width: 55.359375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 7, rect: [48.84375,66 55.359375x17.46875]
|
|
"friends"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x128]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x110]
|
|
PaintableBox (Box<DIV>.flex) [10,10 502x54]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,11 36.84375x52]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.item.one) [47.84375,11 463.15625x52]
|
|
PaintableWithLines (BlockContainer(anonymous)) [48.84375,12 55.359375x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,64 780x0]
|
|
PaintableBox (Box<DIV>.flex) [10,64 502x54]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,65 36.84375x52]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.item.two) [47.84375,65 463.15625x52]
|
|
PaintableWithLines (BlockContainer(anonymous)) [48.84375,66 55.359375x50]
|
|
TextPaintable (TextNode<#text>)
|