Files
ladybird/Tests/LibWeb/Layout/expected/flex/calc-flex-basis.txt
Hendiadyoin1 af161a8b83 AK+LibWeb: Round to int in clamp_to_int instead of truncating
This caused inaccuracies in float->CssPixel conversions
2023-08-05 20:03:09 +02:00

38 lines
2.3 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x80 [BFC] children: not-inline
BlockContainer <body> at (10,10) content-size 780x62 children: not-inline
Box <div.flex-container> at (11,11) content-size 778x60 flex-container(row) [FFC] children: not-inline
BlockContainer <div.flex-item> at (12,12) content-size 386x28 flex-item [BFC] children: inline
line 0 width: 58.40625, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 6, rect: [12,12 58.40625x21.84375]
"Item 1"
TextNode <#text>
BlockContainer <div.flex-item> at (401,12) content-size 386x28 flex-item [BFC] children: inline
line 0 width: 61.484375, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 6, rect: [401,12 61.484375x21.84375]
"Item 2"
TextNode <#text>
BlockContainer <div.flex-item> at (12,42) content-size 386x28 flex-item [BFC] children: inline
line 0 width: 61.84375, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 6, rect: [12,42 61.84375x21.84375]
"Item 3"
TextNode <#text>
BlockContainer <div.flex-item> at (401,42) content-size 386x28 flex-item [BFC] children: inline
line 0 width: 60.15625, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 6, rect: [401,42 60.15625x21.84375]
"Item 4"
TextNode <#text>
PaintableWithLines (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x82]
PaintableWithLines (BlockContainer<BODY>) [9,9 782x64]
PaintableBox (Box<DIV>.flex-container) [10,10 780x62]
PaintableWithLines (BlockContainer<DIV>.flex-item) [11,11 388x30]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.flex-item) [400,11 388x30]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.flex-item) [11,41 388x30]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.flex-item) [400,41 388x30]
TextPaintable (TextNode<#text>)