mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:58:11 +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.
45 lines
1.8 KiB
Text
45 lines
1.8 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: inline
|
|
line 0 width: 424, height: 200, bottom: 200, baseline: 159.96875
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,8 79.296875x200]
|
|
"1"
|
|
frag 1 from TextNode start: 0, length: 1, rect: [87,154 8x17.46875]
|
|
" "
|
|
frag 2 from TextNode start: 0, length: 1, rect: [95,8 110.15625x200]
|
|
"2"
|
|
frag 3 from TextNode start: 0, length: 1, rect: [205,154 8x17.46875]
|
|
" "
|
|
frag 4 from TextNode start: 0, length: 1, rect: [213,8 113.671875x200]
|
|
"3"
|
|
frag 5 from TextNode start: 0, length: 1, rect: [327,154 8x17.46875]
|
|
" "
|
|
frag 6 from TextNode start: 0, length: 1, rect: [335,8 96.875x200]
|
|
"4"
|
|
InlineNode <span.one>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
InlineNode <span.two>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
InlineNode <span.three>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
InlineNode <span.four>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x216]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
|
|
InlinePaintable (InlineNode<SPAN>.one)
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
InlinePaintable (InlineNode<SPAN>.two)
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
InlinePaintable (InlineNode<SPAN>.three)
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
InlinePaintable (InlineNode<SPAN>.four)
|
|
TextPaintable (TextNode<#text>)
|