1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:37:34 +00:00
serenity/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-on-auto-width.txt
Aliaksandr Kalenik bec07d4af7 LibWeb: Use fixed-point saturated arithmetics for CSSPixels
Using fixed-point saturated arithmetics for CSSPixels allows to avoid
accumulating floating-point errors.

This implementation is not complete yet: currently saturated
arithmetics implemented only for addition. But it is enough to not
regress any of layout tests we have :)

See https://github.com/SerenityOS/serenity/issues/18566
2023-07-25 11:52:02 +02:00

22 lines
1.5 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x456.71875 [BFC] children: not-inline
Box <body.hero> at (10,10) content-size 500x438.71875 flex-container(column) [FFC] children: not-inline
BlockContainer <div.upper> at (10,11) content-size 500x436.71875 flex-item [BFC] children: inline
line 0 width: 453.984375, height: 87.34375, bottom: 87.34375, baseline: 67.65625
frag 0 from TextNode start: 0, length: 11, rect: [10,11 453.984375x87.34375]
"This entire"
line 1 width: 455, height: 87.34375, bottom: 174.6875, baseline: 67.65625
frag 0 from TextNode start: 12, length: 11, rect: [10,98.34375 455x87.34375]
"text should"
line 2 width: 230.78125, height: 87.34375, bottom: 262.03125, baseline: 67.65625
frag 0 from TextNode start: 24, length: 5, rect: [10,185.6875 230.78125x87.34375]
"be on"
line 3 width: 272.109375, height: 87.34375, bottom: 349.375, baseline: 67.65625
frag 0 from TextNode start: 30, length: 6, rect: [10,273.03125 272.109375x87.34375]
"orange"
line 4 width: 468.75, height: 87.34375, bottom: 436.71875, baseline: 67.65625
frag 0 from TextNode start: 37, length: 11, rect: [10,360.375 468.75x87.34375]
"background."
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>