1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 17:35:10 +00:00
serenity/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt
Aliaksandr Kalenik de32b77ceb LibWeb: Use separate structure to represent fragments in paintable tree
This is a part of refactoring towards making the paintable tree
independent of the layout tree. Now, instead of transferring text
fragments from the layout tree to the paintable tree during the layout
commit phase, we allocate separate PaintableFragments that contain only
the information necessary for painting. Doing this also allows us to
get rid LineBoxes, as they are used only during layout.
2024-01-13 10:53:38 +01:00

21 lines
1.2 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x334 [BFC] children: not-inline
Box <body.hero> at (2,2) content-size 600x332 flex-container(column) [FFC] children: not-inline
BlockContainer <div.header> at (102,3) content-size 400x330 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [102,3 340.484375x66] baseline: 50.984375
"This entire"
frag 1 from TextNode start: 12, length: 11, rect: [102,69 341.25x66] baseline: 50.984375
"text should"
frag 2 from TextNode start: 24, length: 8, rect: [102,135 274.15625x66] baseline: 50.984375
"be on an"
frag 3 from TextNode start: 33, length: 6, rect: [102,201 204.078125x66] baseline: 50.984375
"orange"
frag 4 from TextNode start: 40, length: 11, rect: [102,267 351.5625x66] baseline: 50.984375
"background."
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x336]
PaintableBox (Box<BODY>.hero) [1,1 602x334]
PaintableWithLines (BlockContainer<DIV>.header) [101,2 402x332]
TextPaintable (TextNode<#text>)