mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48: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.
12 lines
699 B
Text
12 lines
699 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x37.84375 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x21.84375 children: inline
|
|
line 0 width: 362.609375, height: 21.84375, bottom: 21.84375, baseline: 16.921875
|
|
frag 0 from TextNode start: 0, length: 35, rect: [8,8 362.609375x21.84375]
|
|
"This test passes if we don't crash."
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x37.84375]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21.84375]
|
|
TextPaintable (TextNode<#text>)
|