mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:35: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.
20 lines
784 B
Text
20 lines
784 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: inline
|
|
line 0 width: 238.125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 1, length: 18, rect: [0,0 134.984375x17.46875]
|
|
"* { all: unset; } "
|
|
frag 1 from TextNode start: 0, length: 13, rect: [135,0 103.140625x17.46875]
|
|
"Hello friends"
|
|
InlineNode <html>
|
|
InlineNode <head>
|
|
InlineNode <style>
|
|
TextNode <#text>
|
|
InlineNode <body>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
InlinePaintable (InlineNode<HTML>)
|
|
InlinePaintable (InlineNode<HEAD>)
|
|
InlinePaintable (InlineNode<STYLE>)
|
|
TextPaintable (TextNode<#text>)
|
|
InlinePaintable (InlineNode<BODY>)
|
|
TextPaintable (TextNode<#text>)
|