mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 23:55:08 +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.
14 lines
819 B
Text
14 lines
819 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x54.9375 [BFC] children: not-inline
|
|
Box <body> at (10,10) content-size 780x36.9375 [GFC] children: not-inline
|
|
BlockContainer <h1> at (55.5,11) content-size 689x34.9375 [BFC] children: inline
|
|
line 0 width: 200.40625, height: 34.9375, bottom: 34.9375, baseline: 27.0625
|
|
frag 0 from TextNode start: 0, length: 13, rect: [55.5,11 200.40625x34.9375]
|
|
"hello friends"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x56.9375]
|
|
PaintableBox (Box<BODY>) [9,9 782x38.9375]
|
|
PaintableWithLines (BlockContainer<H1>) [54.5,10 691x36.9375]
|
|
TextPaintable (TextNode<#text>)
|