mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 12:45:06 +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.
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,20) content-size 784x21.84375 children: not-inline
|
|
BlockContainer <p> at (8,20) content-size 784x21.84375 children: inline
|
|
line 0 width: 151.34375, height: 21.84375, bottom: 21.84375, baseline: 16.921875
|
|
frag 0 from TextNode start: 0, length: 13, rect: [13,20 141.34375x21.84375]
|
|
"Should be red"
|
|
TextNode <#text>
|
|
InlineNode <a>
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,61.84375) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,20 784x21.84375] overflow: [8,20 784x41.84375]
|
|
PaintableWithLines (BlockContainer<P>) [8,20 784x21.84375]
|
|
InlinePaintable (InlineNode<A>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,61.84375 784x0]
|