mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb: Add ViewportPaintable to represent viewports in the paint tree
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.
This commit is contained in:
parent
136ac1a6a5
commit
c01c4b41e2
389 changed files with 441 additions and 384 deletions
|
@ -6,7 +6,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <div.clamp> at (8,8) content-size 120x300 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 0x0] overflow: [8,8 120x300]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x0] overflow: [8,8 120x300]
|
||||
PaintableWithLines (BlockContainer<DIV>.min) [8,8 80x0] overflow: [8,8 120x300]
|
||||
|
|
|
@ -8,7 +8,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <div.exp> at (8,8) content-size 160x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 0x0] overflow: [8,8 160x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x0] overflow: [8,8 160x0]
|
||||
PaintableWithLines (BlockContainer<DIV>.pow) [8,8 80x0] overflow: [8,8 160x0]
|
||||
|
|
|
@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <div.e> at (8,8) content-size 100x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 0x0] overflow: [8,8 100x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x0] overflow: [8,8 100x0]
|
||||
PaintableWithLines (BlockContainer<DIV>.pi) [8,8 80x0] overflow: [8,8 100x0]
|
||||
|
|
|
@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <div.sign> at (8,8) content-size 100x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 0x0] overflow: [8,8 100x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x0] overflow: [8,8 100x0]
|
||||
PaintableWithLines (BlockContainer<DIV>.abs) [8,8 80x0] overflow: [8,8 100x0]
|
||||
|
|
|
@ -6,7 +6,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <div.rem> at (8,8) content-size 120x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 0x0] overflow: [8,8 120x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x0] overflow: [8,8 120x0]
|
||||
PaintableWithLines (BlockContainer<DIV>.round) [8,8 80x0] overflow: [8,8 120x0]
|
||||
|
|
|
@ -11,7 +11,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> at (8,988) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x996]
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x996]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x996]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x980]
|
||||
PaintableWithLines (BlockContainer<DIV>.sin) [8,8 80x100]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue