mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +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
8 lines
575 B
Text
8 lines
575 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x97.8125 [BFC] children: not-inline
|
|
Box <body> at (10,10) content-size 780x79.8125 [GFC] children: not-inline
|
|
BlockContainer <h1> at (55.5,32.4375) content-size 689x34.9375 [BFC] children: inline
|
|
line 0 width: 492.96875, height: 34.9375, bottom: 34.9375, baseline: 27.0625
|
|
frag 0 from TextNode start: 0, length: 31, rect: [55.5,32.4375 492.96875x34.9375]
|
|
"Null publishes fine indie games"
|
|
TextNode <#text>
|