mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 09:27:35 +00:00

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
7 lines
466 B
Text
7 lines
466 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x125.171875 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x109.171875 children: inline
|
|
line 0 width: 644.609375, height: 109.171875, bottom: 109.171875, baseline: 84.546875
|
|
frag 0 from TextNode start: 0, length: 13, rect: [8,8 644.609375x109.171875]
|
|
"Hello friends"
|
|
TextNode <#text>
|